]> git.parisson.com Git - mezzo.git/commitdiff
Fix header for first page tree
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 24 Aug 2016 12:44:02 +0000 (14:44 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 24 Aug 2016 12:44:02 +0000 (14:44 +0200)
app/templates/pages/menus/header.html

index 40daa4dc5fa145f7743d8b43637376d3cba2feda..1051fdc47a7aa44fb6ed7f49ac86833ba73af420 100644 (file)
@@ -17,7 +17,7 @@
                 <a class="nav-header__item-link{% if page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
 
         {% endif %}
-        {% if page.has_children_in_menu and not forloop.first %}
+        {% if page.has_children_in_menu %}
             {% page_menu page "pages/menus/header_tree_primary.html" %}
         {% endif %}
             </li>