From: Jérémy Fabre Date: Tue, 8 Nov 2016 10:32:08 +0000 (+0100) Subject: Fix current tree primary X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=931b2a9bacd0f214eea2a8cba93d8376a686cc6d;p=mezzo.git Fix current tree primary --- diff --git a/app/templates/pages/menus/current_tree_primary.html b/app/templates/pages/menus/current_tree_primary.html index 3bddf3df..8011bee2 100644 --- a/app/templates/pages/menus/current_tree_primary.html +++ b/app/templates/pages/menus/current_tree_primary.html @@ -5,9 +5,11 @@ {% with page as current_page %} {% if branch_level == 0 %} {% for page in page_branch %} + {% if forloop.first %} + {% endif %} {% endfor %} {% endif %}