{% for value in menu %} {%if value|length > 1 %} {%if value.child|length > 0 %}
  • {{value.title}}
      {% for child in value.child %}
    • {{child.title}}
    • {% endfor %}
  • {% else %}
  • {{value.title}}
  • {% endif %} {% endif %} {% endfor %}