Replace .Site, $page.Site with site

This commit is contained in:
Will Faught
2023-01-29 15:40:03 -08:00
parent 55d20724d4
commit 32031a6e20
5 changed files with 9 additions and 9 deletions

View File

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