feat: add meta description to more pages

This commit is contained in:
Sam 2023-03-28 00:52:44 +02:00
parent 83c90248e4
commit 56c0d40a11
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
5 changed files with 8 additions and 0 deletions

View File

@ -252,6 +252,7 @@
content={data.display_name ? `${data.display_name} (@${data.name})` : `@${data.name}`} content={data.display_name ? `${data.display_name} (@${data.name})` : `@${data.name}`}
/> />
<meta property="og:url" content="{PUBLIC_BASE_URL}/@{data.name}" /> <meta property="og:url" content="{PUBLIC_BASE_URL}/@{data.name}" />
<meta name="description" content="@{data.name} on pronouns.cc" />
{#if data.avatar} {#if data.avatar}
<meta property="og:image" content={userAvatars(data)[0]} /> <meta property="og:image" content={userAvatars(data)[0]} />

View File

@ -122,6 +122,7 @@
: `${data.name} (@${data.user.name})`} : `${data.name} (@${data.user.name})`}
/> />
<meta property="og:url" content="{PUBLIC_BASE_URL}/@{data.user.name}/{data.name}" /> <meta property="og:url" content="{PUBLIC_BASE_URL}/@{data.user.name}/{data.name}" />
<meta name="description" content="{data.name} (@{data.user.name}) on pronouns.cc" />
{#if data.avatar} {#if data.avatar}
<meta property="og:image" content={memberAvatars(data)[0]} /> <meta property="og:image" content={memberAvatars(data)[0]} />

View File

@ -4,6 +4,8 @@
<svelte:head> <svelte:head>
<title>About & contact - pronouns.cc</title> <title>About & contact - pronouns.cc</title>
<meta name="description" content="pronouns.cc's about and contact page" />
<meta property="og:description" content="pronouns.cc's about and contact page" />
</svelte:head> </svelte:head>
<div class="grid"> <div class="grid">

View File

@ -4,6 +4,8 @@
<svelte:head> <svelte:head>
<title>Privacy policy - pronouns.cc</title> <title>Privacy policy - pronouns.cc</title>
<meta name="description" content="pronouns.cc's privacy policy" />
<meta property="og:description" content="pronouns.cc's privacy policy" />
</svelte:head> </svelte:head>
<div class="grid"> <div class="grid">

View File

@ -4,6 +4,8 @@
<svelte:head> <svelte:head>
<title>Terms of service - pronouns.cc</title> <title>Terms of service - pronouns.cc</title>
<meta name="description" content="pronouns.cc's terms of service" />
<meta property="og:description" content="pronouns.cc's terms of service" />
</svelte:head> </svelte:head>
<div class="grid"> <div class="grid">