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

@@ -1,11 +1,11 @@
{{ $page := . }}
{{ $edit := $page.Param "paige.edit" | and ($page.Param "paige.page.hide_edit" | not) }}
{{ $edit := $page.Param "paige.edit" | and ($page.Param "paige.page.disable_edit" | not) }}
{{ $first := templates.Exists "partials/paige/page-footer-first.html" }}
{{ $history := $page.Param "paige.history" | and ($page.Param "paige.page.hide_history" | not) }}
{{ $history := $page.Param "paige.history" | and ($page.Param "paige.page.disable_history" | not) }}
{{ $last := templates.Exists "partials/paige/page-footer-last.html" }}
{{ $next := $page.NextInSection | and ($page.Param "paige.page.hide_next" | not) }}
{{ $prev := $page.PrevInSection | and ($page.Param "paige.page.hide_prev" | not) }}
{{ $next := $page.NextInSection | and ($page.Param "paige.page.disable_next" | not) }}
{{ $prev := $page.PrevInSection | and ($page.Param "paige.page.disable_prev" | not) }}
{{ if $page.File }}
{{ if $edit }}