{% load i18n future pages_tags %} {% if page_branch_in_menu %} {% for page in page_branch %} {% if page.branch_level == 0 %} {% if page.is_current_or_ascendant %} {% endif %} {% else %} {% if page.in_menu %} {{ page.title }} {% if page.has_children_in_menu and page.is_current_or_ascendant %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endif %}