diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2021-09-14 00:13:31 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2021-09-14 00:13:31 +0200 |
commit | ed2f03c59d650e7fd00f081d7991b374d91b7aa6 (patch) | |
tree | eb67b18dcad82dddf2a2c17780a07b463ae97529 /templates/base.html | |
parent | 71b1d8b8713790971881e0076f90d5f743797ec7 (diff) |
Handle translations and additional menu items
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html index bc7556f..4556741 100644 --- a/templates/base.html +++ b/templates/base.html @@ -38,14 +38,14 @@ <h2 id="sitesubtitle">{{ SITESUBTITLE }}</h2> </header><!-- /#banner --> <nav id="menu"><ul> - {% for title, link in MENUITEMS %} - <li><a href="{{ link }}">{{ title }}</a></li> - {% endfor %} {% if DISPLAY_CATEGORIES_ON_MENU %} {% for cat, null in categories %} <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> {% endfor %} {% endif %} + {% for title, link in MENUITEMS %} + <li><a href="{{ link }}">{{ title }}</a></li> + {% endfor %} {% if DISPLAY_PAGES_ON_MENU %} {% for p in pages %} <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> |