forked from drowl87/hextra_mirror
chore: add experimental flag for hiding sidebar
This commit is contained in:
parent
66489e5274
commit
9e7b13a0da
@ -21,6 +21,11 @@
|
|||||||
|
|
||||||
{{- $shouldCache := site.Params.page.sidebar.cache | default false -}}
|
{{- $shouldCache := site.Params.page.sidebar.cache | default false -}}
|
||||||
|
|
||||||
|
{{/* EXPERIMENTAL */}}
|
||||||
|
{{- if .context.Params.sidebar.hide -}}
|
||||||
|
{{- $disableSidebar = true -}}
|
||||||
|
{{- $displayPlaceholder = true -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
<div class="mobile-menu-overlay [transition:background-color_1.5s_ease] hx-fixed hx-inset-0 hx-z-10 hx-bg-black/80 dark:hx-bg-black/60 hx-hidden"></div>
|
<div class="mobile-menu-overlay [transition:background-color_1.5s_ease] hx-fixed hx-inset-0 hx-z-10 hx-bg-black/80 dark:hx-bg-black/60 hx-hidden"></div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user