forked from mirrors/pronouns.cc
fix: add noindex tag to user/member pages in addition to robots.txt
This commit is contained in:
parent
893244dc16
commit
041913675b
2 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,7 @@
|
||||||
/>
|
/>
|
||||||
<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" />
|
<meta name="description" content="@{data.name} on pronouns.cc" />
|
||||||
|
<meta name="robots" content="noindex" />
|
||||||
|
|
||||||
{#if data.avatar}
|
{#if data.avatar}
|
||||||
<meta property="og:image" content={userAvatars(data)[0]} />
|
<meta property="og:image" content={userAvatars(data)[0]} />
|
||||||
|
|
|
@ -121,6 +121,7 @@
|
||||||
/>
|
/>
|
||||||
<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" />
|
<meta name="description" content="{data.name} (@{data.user.name}) on pronouns.cc" />
|
||||||
|
<meta name="robots" content="noindex" />
|
||||||
|
|
||||||
{#if data.avatar}
|
{#if data.avatar}
|
||||||
<meta property="og:image" content={memberAvatars(data)[0]} />
|
<meta property="og:image" content={memberAvatars(data)[0]} />
|
||||||
|
|
Loading…
Reference in a new issue