Remove paige.credit

master
Will Faught 2 years ago
parent 7b70dea431
commit c26774af52

@ -244,9 +244,6 @@ paige:
account_id: ""
utterances: # See https://utteranc.es
github_repo: ""
credit:
data:
hide: false # Don't credit this project in a data attribute
date:
format: ":date_long" # Hugo date format
source: "published" # Displayed date in single pages; must be "published" or "modified"

@ -1,8 +1,7 @@
{{ $page := . }}
{{ $credit := $page.Param "paige.credit.data.hide" | not }}
{{ $dark := eq ($page.Param "paige.color_scheme") "dark" }}
{{ $lang := site.LanguageCode | default site.Language.Lang }}
{{ $rtl := eq $page.Language.LanguageDirection "rtl" }}
<html {{ if $dark }} data-bs-theme="dark" {{ end }} {{ if $credit }} data-paige="Paige theme from https://github.com/willfaught/paige" {{ end }} {{ if $rtl }} dir="rtl" {{ end }} {{ with $lang }} lang="{{ . }}" {{ end }}>
<html {{ if $dark }} data-bs-theme="dark" {{ end }} data-paige="Paige theme from https://github.com/willfaught/paige" {{ if $rtl }} dir="rtl" {{ end }} {{ with $lang }} lang="{{ . }}" {{ end }}>

Loading…
Cancel
Save