From 931b2a9bacd0f214eea2a8cba93d8376a686cc6d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Tue, 8 Nov 2016 11:32:08 +0100 Subject: [PATCH] Fix current tree primary --- app/templates/pages/menus/current_tree_primary.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 %} -- 2.39.5