Info: code refactoring & bug fixes

This commit is contained in:
Alexandre Flament 2022-03-16 22:24:35 +01:00
parent bb19c7eccf
commit dbe3eaabc9
5 changed files with 27 additions and 35 deletions

View file

@ -2,7 +2,7 @@
{% block title %}{{ active_page.title }} - {% endblock %}
{% block content %}
<ul class="nav nav-tabs">
{% for pagename, page, locale in all_pages %}
{% for pagename, locale, page in all_pages %}
<li>
<a href="{{ url_for('info', pagename=pagename, locale=locale) }}" {% if pagename == active_pagename %}class="active"{% endif %}>{{page.title}}</a>
</li>