1 {% set currentRoute = app.request.attributes.get('_route') %}
3 {% if currentRoute == 'starred' %}
4 {{ 'entry.page_titles.starred'|trans }}
5 {% elseif currentRoute == 'archive' %}
6 {{ 'entry.page_titles.archived'|trans }}
7 {% elseif currentRoute == 'all' %}
8 {{ isFiltered ? 'entry.page_titles.filtered'|trans : 'entry.page_titles.all'|trans }}
9 {% elseif currentRoute == 'search' %}
10 {{ 'entry.page_titles.filtered_search'|trans }} {{ filter }}
11 {% elseif currentRoute == 'tag_entries' %}
12 {{ 'entry.page_titles.filtered_tags'|trans }} {{ filter }}
13 {% elseif currentRoute == 'untagged' %}
14 {{ 'entry.page_titles.untagged'|trans }}
16 {{ 'entry.page_titles.unread'|trans }}