From bafedb936a3446f8ed5c890009f5deb02e0ae5ec Mon Sep 17 00:00:00 2001 From: Sally McGrath Date: Sun, 4 Aug 2024 15:09:36 +0100 Subject: [PATCH] add NOINDEX setting definitely assumed this existed already --- common-content/en/blocks/_index.md | 4 ---- common-content/en/module/_index.md | 1 + common-theme/layouts/partials/head.html | 3 +++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common-content/en/blocks/_index.md b/common-content/en/blocks/_index.md index fee6218b8..17ac9ff54 100644 --- a/common-content/en/blocks/_index.md +++ b/common-content/en/blocks/_index.md @@ -4,8 +4,4 @@ description="Activities repeated over and over, like lunch time or group discuss layout="block-viewer" hide_from_overview="true" noindex="true" -[build] - render = 'link' - list = 'local' - publishResources = false +++ diff --git a/common-content/en/module/_index.md b/common-content/en/module/_index.md index c00436799..c3175b68d 100644 --- a/common-content/en/module/_index.md +++ b/common-content/en/module/_index.md @@ -2,4 +2,5 @@ title = "Module" description = "Folders of content organised generally by the module that generated them" hide_from_overview="true" +noindex=true +++ diff --git a/common-theme/layouts/partials/head.html b/common-theme/layouts/partials/head.html index 073d45060..54200a130 100644 --- a/common-theme/layouts/partials/head.html +++ b/common-theme/layouts/partials/head.html @@ -1,6 +1,9 @@ + {{ with .Params.noindex }} + + {{ end }} {{ range after 1 .Ancestors.Reverse }} {{ print (title .Title|default "CYF") " " }}