• {% if menu != null %} {% for child in menu.children %} {% set childrenexist = 1 %} {% endfor %} {% endif %} {% if childrenexist != 0 %} {{widget.name}} {% else %} {{widget.name}} {% endif %}