Move paige.hide_credit_{data,link} to credit.{data,link}.hide

master
Will Faught 2 years ago
parent 9640d143f0
commit 925cb18075

@ -244,8 +244,11 @@ paige:
raw: false # Do not copy or process the file; default is false
stretch: false # Stretch the image fully horizontally if true; center the image otherwise; default is false
url: "me.jpg" # A page, site, or remote resource glob; default is ""
hide_credit_data: false # Don't credit this project in a data attribute; default is false
hide_credit_link: false # Don't credit this project in the footer; default is false
credit:
data:
hide: false # Don't credit this project in a data attribute; default is false
link:
hide: false # Don't credit this project in the footer; default is false
katex:
autorender:
raw: false # Do not copy or process the file; default is false

@ -1,6 +1,6 @@
{{ $page := . }}
{{ $credit := $page.Param "paige.hide_credit_data" | not }}
{{ $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" }}

@ -1,7 +1,7 @@
{{ $page := . }}
{{ $copyright := site.Copyright }}
{{ $credit := $page.Param "paige.hide_credit_link" | not }}
{{ $credit := $page.Param "paige.credit.link.hide" | not }}
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
{{ $last := templates.Exists "partials/paige/footer-last.html" }}

Loading…
Cancel
Save