- {% set currentRoute = app.request.attributes.get('_route') %}
-
- {% if currentRoute == 'starred' %}
- {{ 'entry.page_titles.starred'|trans }}
- {% elseif currentRoute == 'archive' %}
- {{ 'entry.page_titles.archived'|trans }}
- {% elseif currentRoute == 'all' %}
- {{ 'entry.page_titles.filtered'|trans }}
- {% else %}
- {{ 'entry.page_titles.unread'|trans }}
- {% endif %}
-