Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ojroques/hugo-researcher.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b4c5357..f01e36b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -25,4 +25,8 @@
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
+
+ {{ if .Params.noindex }}
+ <meta name="robots" content="noindex">
+ {{ end }}
</head>