aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 5784d2a..9c8811e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -7,7 +7,8 @@
</head>
<body dir={{ .Site.Language.LanguageDirection }}>
- <input type="checkbox" class="hidden" id="menu-control" />
+ <input type="checkbox" class="hidden toggle" id="menu-control" />
+ <input type="checkbox" class="hidden toggle" id="toc-control" />
<main class="container flex">
<aside class="book-menu">
{{ template "menu" . }} <!-- Left menu Content -->
@@ -52,10 +53,9 @@
{{ partial "docs/header" . }}
{{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
- <input type="checkbox" class="hidden" id="toc-control" />
- <aside class="hidden clearfix">
- {{ template "toc" . }}
- </aside>
+ <aside class="hidden clearfix">
+ {{ template "toc" . }}
+ </aside>
{{ end }}
{{ end }}