Move file URL config from page to site

This commit is contained in:
Will Faught
2025-02-10 17:29:28 -08:00
parent c5745aab91
commit b605eac1e8
2 changed files with 6 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
{{ $page := . }}
{{ $edit := $page.Param "paige.pages.edit_url" | and ($page.Param "paige.pages.disable_edit" | not) }}
{{ $edit := $page.Param "paige.site.edit_url" | and ($page.Param "paige.pages.disable_edit" | not) }}
{{ $first := templates.Exists "partials/paige/page-footer-first.html" }}
{{ $history := $page.Param "paige.pages.history_url" | and ($page.Param "paige.pages.disable_history" | not) }}
{{ $history := $page.Param "paige.site.history_url" | and ($page.Param "paige.pages.disable_history" | not) }}
{{ $last := templates.Exists "partials/paige/page-footer-last.html" }}
{{ $next := $page.NextInSection | and ($page.Param "paige.pages.disable_next" | not) }}
{{ $prev := $page.PrevInSection | and ($page.Param "paige.pages.disable_prev" | not) }}