diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 3eccb46..5e239e0 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,5 +1,8 @@
+{{ if .Params.noindex }}
+
+{{ end }}
@@ -66,7 +69,7 @@
{{- if .Site.GoogleAnalytics }}
{{ template "_internal/google_analytics.html" . }}
-{{- end}}
+{{- end }}
{{- if $.Site.Params.plausibleDataDomain }}