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]
|
||||
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) }}
|
||||
|
Reference in New Issue
Block a user