{% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %} {% 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 }} {% elseif currentRoute == 'tag_entries' %} {{ 'entry.page_titles.filtered_tags'|trans }} {% else %} {{ 'entry.page_titles.unread'|trans }} {% endif %} {% endblock %} {% block content %} {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} {% for entry in entries %}

{{ entry.title|raw }}

{% set readingTime = entry.readingTime / app.user.config.readingSpeed %}
{% if readingTime > 0 %} {{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': readingTime|round}) }} {% else %} {{ 'entry.list.reading_time_less_one_minute'|trans|raw }} {% endif %}
{% if entry.previewPicture is null %}

{{ entry.content|striptags|slice(0, 300) }}…

{% else %} {{ entry.title|raw }} {% endif %}
{% endfor %} {% if form is not null %} {% endif %} {% endblock %}