aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-03-01 15:38:36 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-03-01 15:38:36 +0100
commit6cac8feab52e8105bc7be0f1b3a0f37a313635b4 (patch)
tree7ca3329f022350a02ac3a3410f825f2f1011aea1 /templates/index.html
parent75a62c57897f0e19433eadbfd9cf7c1409b7f047 (diff)
downloadguide.deuxfleurs.fr-6cac8feab52e8105bc7be0f1b3a0f37a313635b4.tar.gz
guide.deuxfleurs.fr-6cac8feab52e8105bc7be0f1b3a0f37a313635b4.zip
rework menu logic part 1
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index fd4e9bf..085a81a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -29,9 +29,9 @@
<div class="toc {% if page.ancestors or section.ancestors %}{% else %}toc-homepage{% endif %}">
<div class="toc-sticky">
{% if page %}
- {{ nav::navmenu(current=page) }}
+ {{ nav::page(target=page) }}
{% else %}
- {{ nav::navmenu(current=section) }}
+ {{ nav::section(target=section) }}
{% endif %}
</div>
</div>