{% for item in items %}
  • {{ item.label }}{% if item.open and item.links %}
      {% for sub in item.links %}
    • {{ sub.label }}
    • {% endfor %}
    {% endif %}
  • {% endfor %}