Move file URL config from page to site
This commit is contained in:
@@ -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) }}
|
||||
|
Reference in New Issue
Block a user