aboutsummaryrefslogtreecommitdiff
path: root/templates/_nav.html
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2022-08-26 15:20:51 +0200
committerAlex <alex@adnab.me>2022-08-26 15:20:51 +0200
commit00c15b8e03f9112086c3c14b1f354ffe638f6954 (patch)
treeca370f4bdf26c94b64375971a8f00edd0217b01f /templates/_nav.html
parent8e9a22542027548cc9a93c491a9851e33d4ac459 (diff)
parentfdd80f29108dee541941de2a3218ac7950c15462 (diff)
downloadguide.deuxfleurs.fr-00c15b8e03f9112086c3c14b1f354ffe638f6954.tar.gz
guide.deuxfleurs.fr-00c15b8e03f9112086c3c14b1f354ffe638f6954.zip
Merge branch 'main' into vincent-main
Diffstat (limited to 'templates/_nav.html')
-rw-r--r--templates/_nav.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/_nav.html b/templates/_nav.html
index 9b76c96..e353681 100644
--- a/templates/_nav.html
+++ b/templates/_nav.html
@@ -9,15 +9,17 @@
<div class="toc-item">
{% if p.subsections or p.pages %}
{% if p.path == current.path %}
- <a class="subtext" href="{{ p.permalink | safe}}">⯆ <b>{{ p.title }}</b></a>
+ <a class="subtext" href="{{ p.permalink | safe}}">‣ <b>{{ p.title }}</b></a>
{% elif hierarchy is containing(s) %}
- <a class="subtext" href="{{ p.permalink | safe}}">⯆ {{ p.title }}</a>
+ <a class="subtext" href="{{ p.permalink | safe}}">‣ {{ p.title }}</a>
{% else %}
- <a class="subtext" href="{{ p.permalink | safe}}">⯈ {{ p.title }}</a>
+ <a class="subtext" href="{{ p.permalink | safe}}">‣ {{ p.title }}</a>
{% endif %}
{% if hierarchy is containing(s) or current.path == p.path %}
{% if level + 1 < maxlevel %}
- {{ nav::navsection(hierarchy=hierarchy,level=level + 1,current=current) }}
+ <div class="nav-subsection">
+ {{ nav::navsection(hierarchy=hierarchy,level=level + 1,current=current) }}
+ </div>
{% endif %}
{% endif %}
{% else %}