From 604a8375c6f5f3c3f8d53b2f2a5dbf3859417a67 Mon Sep 17 00:00:00 2001 From: Christian Stankowic Date: Fri, 29 Mar 2024 08:31:57 +0100 Subject: [PATCH 1/3] add noindex parameter --- layouts/partials/head.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3eccb46fe..029e8cfe8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,8 @@ +{{ if .Params.noindex }} + +{{ end }} @@ -66,7 +69,12 @@ {{- if .Site.GoogleAnalytics }} {{ template "_internal/google_analytics.html" . }} -{{- end}} +{{- end }} + + +{{- if .Site.Params.matomo.enable }} +{{- partial "matomo.html" . }} +{{- end }} {{- if $.Site.Params.plausibleDataDomain }} From b826e4191f3038c70c976fec9d7954a427c3ac03 Mon Sep 17 00:00:00 2001 From: Christian Stankowic Date: Fri, 29 Mar 2024 08:42:10 +0100 Subject: [PATCH 2/3] remove accidentally added include --- layouts/partials/head.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 029e8cfe8..267b9af0e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -71,11 +71,6 @@ {{ template "_internal/google_analytics.html" . }} {{- end }} - -{{- if .Site.Params.matomo.enable }} -{{- partial "matomo.html" . }} -{{- end }} - {{- if $.Site.Params.plausibleDataDomain }} From 3ea898a6a4b3d6512a880d6d526bc1660becdae7 Mon Sep 17 00:00:00 2001 From: Christian Stankowic Date: Fri, 29 Mar 2024 08:48:36 +0100 Subject: [PATCH 3/3] fix spacing --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 267b9af0e..5e239e04b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ {{ if .Params.noindex }} - + {{ end }}