Add paige.list.pages.hide param

This commit is contained in:
Will Faught
2023-02-09 21:28:42 -08:00
parent 927c720dcb
commit 2dd3f86c80
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{{ $page := . }}
{{ if $page.Pages }}
{{ if and $page.Pages ($page.Param "paige.list.pages.hide" | not) }}
{{ if $page.Param "paige.list.content.show" }}
{{ $p := $page.Paginate $page.Pages }}
<section>