From dcc76cf3679119860f63c3e905d81eb022b170cf Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 9 Oct 2023 21:02:49 -0700 Subject: [PATCH] Rename paige.link.hide_page to disable --- README.md | 2 +- layouts/partials/paige/footer.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e51d5728..54297b65 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,7 @@ commit_url = "" # Example is "https://github.com/willfaught/paige/commit/%s" [paige.link] # A link placed at the top of the footer for pages with files content = "" # Example is "Edit this page" -hide_page = false +disable = false url = "" # Example is "https://github.com/willfaught/paige/edit/master/content/%s" [paige.menu] diff --git a/layouts/partials/paige/footer.html b/layouts/partials/paige/footer.html index 5fdb5e34..16a4bfad 100644 --- a/layouts/partials/paige/footer.html +++ b/layouts/partials/paige/footer.html @@ -15,7 +15,7 @@ {{ partial "paige/footer-first.html" . }} {{ end }} - {{ if and $linkcontent $linkurl (not ($page.Param "paige.link.hide_page")) }} + {{ if and $linkcontent $linkurl (not ($page.Param "paige.link.disable")) }}