aboutsummaryrefslogtreecommitdiff
path: root/templates/_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_nav.html')
-rw-r--r--templates/_nav.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/_nav.html b/templates/_nav.html
index 3bfda07..b05e472 100644
--- a/templates/_nav.html
+++ b/templates/_nav.html
@@ -133,9 +133,15 @@
{% set root_path = hierarchy | nth(n=0) %}
{% set root = get_section(path=root_path) %}
+
+ <input id="menu-toggle" type="checkbox" />
+ <label class='menu-button-container' for="menu-toggle">
+ <div class="menu-button"></div>
+ <div class="toc-item toc-menu-title subtext">{{ root.title }}</div>
+ </label>
+
<div class="toc-item toc-section">
<a class="subtext" href="{{root.permalink | safe}}">{{ root.title }}</a>
</div>
-
{{ nav::navsection(hierarchy=hierarchy,level=0,current=current) }}
{% endmacro %}