mirror of
https://github.com/imfing/hextra.git
synced 2025-09-14 06:06:48 -04:00
chore: replace .Scratch with .Store (#818)
This commit is contained in:

committed by
GitHub

parent
184ee25011
commit
334158af7a
@@ -1,4 +1,4 @@
|
||||
{{- $enableFooterSwitches := .Scratch.Get "enableFooterSwitches" | default false -}}
|
||||
{{- $enableFooterSwitches := .Store.Get "enableFooterSwitches" | default false -}}
|
||||
{{- $displayThemeToggle := site.Params.theme.displayToggle | default true -}}
|
||||
{{- $footerSwitchesVisible := and $enableFooterSwitches (or hugo.IsMultilingual $displayThemeToggle) -}}
|
||||
{{- $copyrightSectionVisible := or (.Site.Params.footer.displayPoweredBy | default true) .Site.Params.footer.displayCopyright -}}
|
||||
|
Reference in New Issue
Block a user