fix: add noindex tag to user/member pages in addition to robots.txt

This commit is contained in:
Sam 2023-04-08 14:48:03 +02:00
parent 893244dc16
commit 041913675b
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
2 changed files with 2 additions and 0 deletions

View file

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

View file

@ -121,6 +121,7 @@
/>
<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" />
<meta name="robots" content="noindex" />
{#if data.avatar}
<meta property="og:image" content={memberAvatars(data)[0]} />