Improved nofollow on login/register pages
Some checks failed
Build, Tag, Push Docker Image / build (push) Has been cancelled
Create Release / Generate Release (push) Has been cancelled

This commit is contained in:
Mia Rose Winter 2024-03-25 13:19:52 +01:00
parent 7bb2991ada
commit 35a5540a72
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 2 additions and 4 deletions

View file

@ -13,7 +13,6 @@
@inject NavigationManager Navigation
<HeadContent>
<meta name="robots" content="nofollow">
<link rel="canonical" href="@(new UriBuilder(Navigation.BaseUri) { Scheme = "https", Port = -1, Path = "/account/login" }.Uri.AbsoluteUri)" />
</HeadContent>
@ -47,7 +46,7 @@
</EditForm>
<ul class="mt-3 flex flex-col gap-1 text-center">
<li>
<a class="hover:link" href="/Account/ForgotPassword">
<a class="hover:link" href="/Account/ForgotPassword" rel="nofollow">
@Localizer["ResetPassword_Label"]
</a>
</li>
@ -57,7 +56,7 @@
</a>
</li>
<li>
<a class="hover:link" href="/Account/ResendEmailConfirmation">
<a class="hover:link" href="/Account/ResendEmailConfirmation" rel="nofollow">
@Localizer["ResendMailConfirmation_Label"]
</a>
</li>

View file

@ -20,7 +20,6 @@
@inject NavigationManager Navigation
<HeadContent>
<meta name="robots" content="nofollow">
<link rel="canonical" href="@(new UriBuilder(Navigation.BaseUri) { Scheme = "https", Port = -1, Path = "/account/register" }.Uri.AbsoluteUri)" />
</HeadContent>