feat: Add noindex on staging
https://support.google.com/webmasters/answer/7440203#indexed_though_blocked_by_robots_txt https://developers.google.com/search/docs/advanced/crawling/block-indexing?visit_id=637660232047502724-3233221921&rd=1
This commit is contained in:
parent
4675c3a10f
commit
d9122917fc
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
<meta name="MobileOptimized" content="320">
|
<meta name="MobileOptimized" content="320">
|
||||||
|
{{ if ne hugo.Environment "production" }}<meta name="robots" content="noindex">{{ end }}
|
||||||
|
|
||||||
{{ partial "social_metadata.html" . }}
|
{{ partial "social_metadata.html" . }}
|
||||||
{{ partial "style.html" . }}
|
{{ partial "style.html" . }}
|
||||||
|
|
Loading…
Reference in New Issue