Feat: Update nav bar

This commit is contained in:
2022-08-28 21:21:02 +02:00
parent f2adf72aa0
commit dc470aec10
4 changed files with 19 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
<ul class="toctree">
<h2>Niveaux</h2>
{% for cat, articles in categories|sort %}
{% if (article and article.category == cat) or category == cat %}
<li class="toctree-l1 current"><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat | upper }}</a>