{# Variables - pages #} {% set count = pages|length %} {% if count > 0 %}
{% for page in pages %} {% set active = app.request.requestUri == page.url %} {% if not active %} {% endif %} {{ page.lang }} {% if not active %} {% endif %} {% set count = count - 1 %} {% endfor %}
{% endif %}