aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-27 22:58:15 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-27 22:58:15 +0100
commita722f74fba012dd75a1785f00293dd040a32e48a (patch)
treea5b4afe1ce60cc7cbc4b0184ed4ab4bc8f6dce3b /layouts/_default
parent352ceea4111e4106d3e01ed5985822bb6f2e7ff4 (diff)
#154, Add menu overlay over content to hide menu on click
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 95524a0..042223c 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -27,6 +27,8 @@
{{ template "comments" . }} <!-- Comments block -->
</footer>
{{ partial "docs/inject/footer" . }}
+
+ <label for="menu-control" class="hidden book-menu-overlay"></label>
</div>
{{ if default true (default .Site.Params.BookToC .Params.BookToC) }}