{% extends "layout.html.twig" %} {% block head %} {{ parent() }} {% if tag is defined and app.user.config.feedToken %} {% endif %} {% endblock %} {% block title %} {% set filter = '' %} {% if tag is defined %} {% set filter = tag.slug %} {% endif %} {% if searchTerm is defined and searchTerm is not empty %} {% set filter = searchTerm %} {% endif %} {% include "Entry/_title.html.twig" with {'filter': filter} %} {% endblock %} {% block content %} {% set current_path = path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) %} {% set list_mode = app.user.config.listMode %} {% set entries_with_archived_class_routes = ['tag_entries', 'search', 'all'] %} {% set current_route = app.request.attributes.get('_route') %} {% if current_route == 'homepage' %} {% set current_route = 'unread' %} {% endif %}
{% if entries.getNbPages > 1 %}