diff --git a/README.md b/README.md index ab6f24ee..803d3cdc 100644 --- a/README.md +++ b/README.md @@ -225,10 +225,6 @@ disable_title = false disable_toc = false disable_word_count = false -# Navigation -edit_url = "" # Example: "https://github.com/account/project/edit/master/content/%s" -history_url = "" # Example: "https://github.com/account/project/commits/master/content/%s" - # Schema base_schema = {} # JSON-LD schema that all page schemas override # Example: @@ -268,6 +264,10 @@ disable_description = false disable_license = false disable_title = false +# Git +edit_url = "" # Example: "https://github.com/account/project/edit/master/content/%s" +history_url = "" # Example: "https://github.com/account/project/commits/master/content/%s" + # Navigation disable_breadcrumbs = false disable_menu = false diff --git a/layouts/partials/paige/page-footer.html b/layouts/partials/paige/page-footer.html index 7d553991..d968fd7b 100644 --- a/layouts/partials/paige/page-footer.html +++ b/layouts/partials/paige/page-footer.html @@ -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) }}