diff --git a/README.md b/README.md index 182ac174..de866c0a 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,6 @@ description = "" # Site description. Appears above the menu and below the site t exclude_feeds = false # Exclude this page from feeds exclude_search = false # Exclude the page from search external_link_new_tab = false # Open external links in new tabs -history = "" # File history URL. Example: "https://github.com/account/project/commits/master/content/%s". keyword_style = "text" # Must be "text" or "pills" license = "" # Example: "CC BY 4.0 License" math = false # Enables math typesetting @@ -228,6 +227,7 @@ disable_prev = false disable_toc = false edit_url = "" # File edit URL. Example: "https://github.com/account/project/edit/master/content/%s". +history_url = "" # File history URL. Example: "https://github.com/account/project/commits/master/content/%s". # Schema base_schema = {} # JSON-LD schema that all page schemas override diff --git a/layouts/partials/paige/page-footer.html b/layouts/partials/paige/page-footer.html index 738d67f5..b969ac8e 100644 --- a/layouts/partials/paige/page-footer.html +++ b/layouts/partials/paige/page-footer.html @@ -2,7 +2,7 @@ {{ $edit := $page.Param "paige.page.edit_url" | 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.disable_history" | not) }} +{{ $history := $page.Param "paige.page.history_url" | 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.disable_next" | not) }} {{ $prev := $page.PrevInSection | and ($page.Param "paige.page.disable_prev" | not) }}