From 0e95d0d7b43df2c696662098722227f62bfb124d Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 22 Dec 2022 00:35:27 +0100 Subject: Tentative 2: navigation sur mobile --- templates/_nav.html | 8 +++++++- templates/index.html | 22 ++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'templates') 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) %} + + + +
{{ root.title }}
- {{ nav::navsection(hierarchy=hierarchy,level=0,current=current) }} {% endmacro %} 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 @@
{% block mainnav %} - {% if page.ancestors or section.ancestors %} - - -