diff --git a/README.md b/README.md index c4f5b31f..2f304334 100644 --- a/README.md +++ b/README.md @@ -247,8 +247,6 @@ paige: credit: data: hide: false # Don't credit this project in a data attribute - link: - hide: false # Don't credit this project in the footer date: format: ":date_long" # Hugo date format source: "published" # Displayed date in single pages; must be "published" or "modified" @@ -272,7 +270,7 @@ paige: The assigned values shown are the default values. -If you set `paige.credit.data.hide` or `paige.credit.link.hide`, please credit this project in a post to help others find it. +If you set `paige.credit.data.hide`, please credit this project in a post to help others find it. ### Site parameters @@ -831,6 +829,8 @@ Use these CSS selectors to extend the default styling:
Applied to the title of unpublished (draft, expired, future) pages in the list and term layouts.
+If you hide `#paige-credit`, please credit this project in a post to help others find it. + ## Design The HTML author is the page authors. diff --git a/layouts/partials/paige/footer.html b/layouts/partials/paige/footer.html index a022137d..437ce333 100644 --- a/layouts/partials/paige/footer.html +++ b/layouts/partials/paige/footer.html @@ -1,23 +1,20 @@ {{ $page := . }} {{ $copyright := site.Copyright | markdownify }} -{{ $credit := $page.Param "paige.credit.link.hide" | not }} {{ $first := templates.Exists "partials/paige/footer-first.html" }} {{ $last := templates.Exists "partials/paige/footer-last.html" }} -{{ if or $copyright $credit $first $last }} +{{ if or $copyright $first $last }}