Remove blank target from default credit
This commit is contained in:
@@ -174,7 +174,7 @@ 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"
|
||||||
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">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.
|
||||||
edit = "" # File edit URL. Example: "https://github.com/account/project/edit/master/content/%s".
|
edit = "" # File edit URL. Example: "https://github.com/account/project/edit/master/content/%s".
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
{{ if $credit }}
|
{{ if $credit }}
|
||||||
{{ $credit = markdownify $credit }}
|
{{ $credit = markdownify $credit }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $credit = `<a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige" target="_blank">Paige Theme</a>` | safeHTML }}
|
{{ $credit = `<a class="link-secondary text-decoration-none" href="https://github.com/willfaught/paige">Paige Theme</a>` | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $credit = $credit | and ($page.Param "paige.site.disable_credit" | not) }}
|
{{ $credit = $credit | and ($page.Param "paige.site.disable_credit" | not) }}
|
||||||
|
Reference in New Issue
Block a user