mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-16 16:17:22 -04:00
Remove noindex meta tag from alias.html
Google does not behave as expected when an alias is used. It does not index the client-side alias page, but on top of that it also does not index the original page. Google does not require noindex to be present and since alias pages do not have any content, it makes little sense to provide it. Therefore, this patch removes the line completely. https://developers.google.com/search/docs/crawling-indexing/301-redirects
This commit is contained in:
parent
4f2d2b2cc4
commit
25c0f2408a
@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<title>{{ .Permalink }}</title>
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; url={{ .Permalink }}">
|
||||
</head>
|
||||
|
Loading…
x
Reference in New Issue
Block a user