diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/templates/index.html b/templates/index.html index a00a979..fd4e9bf 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,21 +26,15 @@ <main> {% block mainnav %} - {% if page.ancestors or section.ancestors %} - <input id="menu-toggle" type="checkbox" {% if section.subsections or section.pages %}checked{% endif %} /> - <label class='menu-button-container' for="menu-toggle"> - <div class='menu-button'></div> - </label> - <div class="toc" id="navigation"> - <div class="toc-sticky"> - {% if page %} - {{ nav::navmenu(current=page) }} - {% else %} - {{ nav::navmenu(current=section) }} - {% endif %} - </div> + <div class="toc {% if page.ancestors or section.ancestors %}{% else %}toc-homepage{% endif %}"> + <div class="toc-sticky"> + {% if page %} + {{ nav::navmenu(current=page) }} + {% else %} + {{ nav::navmenu(current=section) }} + {% endif %} </div> - {% endif %} + </div> {% endblock mainnav %} <div class="content text"> |