{% macro menu_item(item) %} {% if item.icon %} {% endif %} {{_(item.label)}} {% endmacro %} {% macro menu_debug(menu) %} {% for item1 in menu.get_list() %} {{ item1.label }} {{ item1.href }} {% for item2 in item1.childs %} {{ item2.label }} {{ item2.href }} {% endfor %} {% endfor %} {% endmacro %} {% macro menu_block(menu) %} {% for item1 in menu.get_list() %} {% if item1 | is_menu_visible %} {% if item1.childs %}