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

committed by
GitHub

parent
184ee25011
commit
334158af7a
@@ -30,7 +30,7 @@
|
||||
<!-- Sidebar on large screen -->
|
||||
{{- if $disableSidebar -}}
|
||||
{{- if $displayPlaceholder }}<div class="hx:max-xl:hidden hx:h-0 hx:w-64 hx:shrink-0"></div>{{ end -}}
|
||||
{{ .context.Scratch.Set "enableFooterSwitches" true }}
|
||||
{{ .context.Store.Set "enableFooterSwitches" true }}
|
||||
{{- else -}}
|
||||
<ul class="hx:flex hx:flex-col hx:gap-1 hx:max-md:hidden">
|
||||
{{ template "sidebar-main" (dict "context" $navRoot "page" $context "pageURL" $pageURL) }}
|
||||
|
Reference in New Issue
Block a user