Remove paige.copyright config
This commit is contained in:
@@ -174,7 +174,6 @@ There is a single parameter object with sensible defaults that can be overridden
|
||||
[paige]
|
||||
color = "#0d6efd" # Bootstrap primary color and theme color for Safari and Windows
|
||||
color_scheme = "auto" # Must be "auto", "dark", or "light"
|
||||
copyright = "" # Appears below the page, above the site credit, if set. Defaults to the site copyright.
|
||||
credit = '<a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige" target="_blank">Paige Theme</a>'
|
||||
date_format = ":date_long" # Hugo date format
|
||||
description = "" # Site description. Appears above the menu, below the site title, if set.
|
||||
|
@@ -4,6 +4,7 @@ timezone = "America/Los_Angeles"
|
||||
titlecasestyle = "Go"
|
||||
|
||||
[languages.en]
|
||||
copyright = "© Will Faught"
|
||||
languagecode = "en-us"
|
||||
languagedirection = "ltr"
|
||||
languagename = "English"
|
||||
@@ -11,7 +12,6 @@ title = "Paige"
|
||||
weight = 10
|
||||
|
||||
[languages.en.params.paige]
|
||||
copyright = "© Will Faught"
|
||||
description = "Powerful, pliable pixel perfection"
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ $copyright := $page.Param "paige.copyright" | default site.Copyright | markdownify | and ($page.Param "paige.site.disable_copyright" | not) }}
|
||||
{{ $copyright := site.Copyright | markdownify | and ($page.Param "paige.site.disable_copyright" | not) }}
|
||||
{{ $credit := $page.Param "paige.credit" }}
|
||||
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
|
||||
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
||||
|
Reference in New Issue
Block a user