Rename paige.list_page to subpage

This commit is contained in:
Will Faught
2025-02-05 17:56:29 -08:00
parent b531d3fd36
commit a6fd85071d
8 changed files with 29 additions and 29 deletions

View File

@@ -40,8 +40,8 @@
{{ end }}
{{ $collections := slice }}
{{ $pages := $page.RegularPages | and ($page.Param "paige.list_page.disable_pages" | not) }}
{{ $sections := $page.Sections | and ($page.Param "paige.list_page.disable_sections" | not) }}
{{ $pages := $page.RegularPages | and ($page.Param "paige.subpage.disable_pages" | not) }}
{{ $sections := $page.Sections | and ($page.Param "paige.subpage.disable_sections" | not) }}
{{ if $page.IsHome }}
{{ range $name, $taxonomy := site.Taxonomies }}
@@ -51,7 +51,7 @@
{{ end }}
{{ end }}
{{ $collections = $collections | and ($page.Param "paige.list_page.disable_collections" | not) }}
{{ $collections = $collections | and ($page.Param "paige.subpage.disable_collections" | not) }}
{{ if and (not $pages) (in (slice "taxonomy" "term") $page.Kind) }}
{{ $pages = $page.Pages }}