Change config prefix hide to disable

This commit is contained in:
Will Faught
2024-07-18 18:30:36 -07:00
parent aff1716ff5
commit 1fca28b8a7
15 changed files with 204 additions and 204 deletions

View File

@@ -40,8 +40,8 @@
{{ end }}
{{ $collections := slice }}
{{ $pages := $page.RegularPages | and ($page.Param "paige.list_page.hide_pages" | not) }}
{{ $sections := $page.Sections | and ($page.Param "paige.list_page.hide_sections" | not) }}
{{ $pages := $page.RegularPages | and ($page.Param "paige.list_page.disable_pages" | not) }}
{{ $sections := $page.Sections | and ($page.Param "paige.list_page.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.hide_collections" | not) }}
{{ $collections = $collections | and ($page.Param "paige.list_page.disable_collections" | not) }}
{{ if and (not $pages) (in (slice "taxonomy" "term") $page.Kind) }}
{{ $pages = $page.Pages }}