From 6c379d7581b3813a4184ef03a9ed096a2a207700 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Wed, 20 Dec 2023 20:39:59 +0000 Subject: [PATCH] allow to add noindex meta tag via frontmatter --- layouts/partials/head.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e3fbcf3e..d5cfa003 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,6 +3,8 @@ {{- .Site.Title }} {{- if not hugo.IsProduction }} + {{- else if .Params.noindex }} + {{- end }}