{% load menu_tags i18n %} {% with nav_level_max=4 nav_level_add_overview=1 nav_level_min=1 %} {# Show only up to nav_level_max levels of navigation in the submenu #} {% if children and request.current_page.level < nav_level_max %} {# Show an Overview menu item that points to the first level nav item #} {% if request.current_page.level == nav_level_add_overview %}