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")) }}