From e06649f8c8ad97548e6085a8f3effffcc349e58a Mon Sep 17 00:00:00 2001 From: Florian <26717601+florianbieser@users.noreply.github.com> Date: Wed, 18 Jan 2023 16:55:33 +0100 Subject: [PATCH] option to set an attribute noindex in front-matter for some sites --- layouts/partials/head.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bb214f3..dc2844f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,6 +3,9 @@ +{{ if .Params.noindex }} + +{{ end }} {{ template "_internal/google_analytics.html" . }}