{% set nav1 = app.request.attributes.get('_route') %} {% for domain in domains %} {{ domain.title }} {% endfor %}