From 6d25412c67207b55ed5752a19e6a76fb076f2ae6 Mon Sep 17 00:00:00 2001 From: lennartrommeiss <61516567+lenderom@users.noreply.github.com> Date: Sat, 9 May 2026 15:48:28 +0200 Subject: [PATCH 1/2] fix: set noindex for privacy, imprint and 404 pages (#903) --- layouts/partials/headMeta.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/layouts/partials/headMeta.html b/layouts/partials/headMeta.html index 01cd0f610..a0056cb44 100644 --- a/layouts/partials/headMeta.html +++ b/layouts/partials/headMeta.html @@ -37,4 +37,12 @@ - +{{- $isNoIndexPage := or (in .RelPermalink "/privacy/") (in .RelPermalink "/imprint/") (eq .RelPermalink "/404.html") (in .RelPermalink "/404/") -}} + From b42b533656dfa77604ced21983dd9966bd448887 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Tue, 12 May 2026 22:01:37 +0200 Subject: [PATCH 2/2] fix: removed linebreaks --- layouts/partials/headMeta.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/partials/headMeta.html b/layouts/partials/headMeta.html index a0056cb44..8724dd825 100644 --- a/layouts/partials/headMeta.html +++ b/layouts/partials/headMeta.html @@ -18,20 +18,20 @@ @@ -40,9 +40,9 @@ {{- $isNoIndexPage := or (in .RelPermalink "/privacy/") (in .RelPermalink "/imprint/") (eq .RelPermalink "/404.html") (in .RelPermalink "/404/") -}}