Move paige.hide_{rss,search} to paige.page

This commit is contained in:
Will Faught
2023-02-05 10:58:44 -08:00
parent bf96b9af84
commit 0b84ad2626
3 changed files with 6 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
{{- $page := . -}}
{{- $page.Scratch.Add "paige_index" slice -}}
{{- range where site.RegularPages "Params.paige.hide_search" "ne" true -}}
{{- range where site.RegularPages "Params.paige.page.search.hide" "ne" true -}}
{{- $page.Scratch.Add "paige_index" (dict
"categories" .Params.categories
"date" .PublishDate