Skip to content

Commit

Permalink
add NOINDEX setting
Browse files Browse the repository at this point in the history
definitely assumed this existed already
  • Loading branch information
SallyMcGrath committed Aug 4, 2024
1 parent ad9a10e commit bafedb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions common-content/en/blocks/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
+++
1 change: 1 addition & 0 deletions common-content/en/module/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
title = "Module"
description = "Folders of content organised generally by the module that generated them"
hide_from_overview="true"
noindex=true
+++
3 changes: 3 additions & 0 deletions common-theme/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{ with .Params.noindex }}
<meta name="robots" content="noindex" />
{{ end }}
<title data-pagefind-meta="title">
{{ range after 1 .Ancestors.Reverse }}
{{ print (title .Title|default "CYF") " " }}
Expand Down

0 comments on commit bafedb9

Please sign in to comment.