{% if catAlbum|length > 0 %}
{% if app.request.attributes.get('_route') == "catAlbum" %}

Albums

{% endif %}
{% for cat in catAlbum %} {% endfor %}
{% endif %}