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
Signed by: sam
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}`}
/>
<meta property="og:url" content="{PUBLIC_BASE_URL}/@{data.name}" />
<meta name="description" content="@{data.name} on pronouns.cc" />
{#if data.avatar}
<meta property="og:image" content={userAvatars(data)[0]} />

View file

@ -122,6 +122,7 @@
: `${data.name} (@${data.user.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}
<meta property="og:image" content={memberAvatars(data)[0]} />

View file

@ -4,6 +4,8 @@
<svelte:head>
<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>
<div class="grid">

View file

@ -4,6 +4,8 @@
<svelte:head>
<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>
<div class="grid">

View file

@ -4,6 +4,8 @@
<svelte:head>
<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>
<div class="grid">