Move paige.hide_credit_{data,link} to credit.{data,link}.hide
This commit is contained in:
@@ -244,8 +244,11 @@ paige:
|
|||||||
raw: false # Do not copy or process the file; default is false
|
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
|
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 ""
|
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
|
credit:
|
||||||
hide_credit_link: false # Don't credit this project in the footer; default is false
|
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:
|
katex:
|
||||||
autorender:
|
autorender:
|
||||||
raw: false # Do not copy or process the file; default is false
|
raw: false # Do not copy or process the file; default is false
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{{ $page := . }}
|
{{ $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" }}
|
{{ $dark := eq ($page.Param "paige.color_scheme") "dark" }}
|
||||||
{{ $lang := site.LanguageCode | default site.Language.Lang }}
|
{{ $lang := site.LanguageCode | default site.Language.Lang }}
|
||||||
{{ $rtl := eq $page.Language.LanguageDirection "rtl" }}
|
{{ $rtl := eq $page.Language.LanguageDirection "rtl" }}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{{ $page := . }}
|
{{ $page := . }}
|
||||||
|
|
||||||
{{ $copyright := site.Copyright }}
|
{{ $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" }}
|
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
|
||||||
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user