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]
|
[paige]
|
||||||
color = "#0d6efd" # Bootstrap primary color and theme color for Safari and Windows
|
color = "#0d6efd" # Bootstrap primary color and theme color for Safari and Windows
|
||||||
color_scheme = "auto" # Must be "auto", "dark", or "light"
|
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>'
|
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
|
date_format = ":date_long" # Hugo date format
|
||||||
description = "" # Site description. Appears above the menu, below the site title, if set.
|
description = "" # Site description. Appears above the menu, below the site title, if set.
|
||||||
|
@@ -4,6 +4,7 @@ timezone = "America/Los_Angeles"
|
|||||||
titlecasestyle = "Go"
|
titlecasestyle = "Go"
|
||||||
|
|
||||||
[languages.en]
|
[languages.en]
|
||||||
|
copyright = "© Will Faught"
|
||||||
languagecode = "en-us"
|
languagecode = "en-us"
|
||||||
languagedirection = "ltr"
|
languagedirection = "ltr"
|
||||||
languagename = "English"
|
languagename = "English"
|
||||||
@@ -11,7 +12,6 @@ title = "Paige"
|
|||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
[languages.en.params.paige]
|
[languages.en.params.paige]
|
||||||
copyright = "© Will Faught"
|
|
||||||
description = "Powerful, pliable pixel perfection"
|
description = "Powerful, pliable pixel perfection"
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{{ $page := . }}
|
{{ $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" }}
|
{{ $credit := $page.Param "paige.credit" }}
|
||||||
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
|
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
|
||||||
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
||||||
|
Reference in New Issue
Block a user