{% load mptt_tags smart_if %} {% if menu %} {% for node, structure in menu_items|tree_info %} {% include "section/inc.item_menu_tag.html" %} {% endfor %} {% endif %}