Remove blank target from default credit

master
Will Faught 5 months ago
parent 077bd3eac7
commit 46e3c31da2

@ -174,7 +174,7 @@ 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"
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
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".

@ -10,7 +10,7 @@
{{ if $credit }}
{{ $credit = markdownify $credit }}
{{ 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 }}
{{ $credit = $credit | and ($page.Param "paige.site.disable_credit" | not) }}

Loading…
Cancel
Save