{% extends "layout.twig" %} {% block title %} {% if view == 'fav' %} {% trans "favorites" %} {% elseif view == 'archive' %} {% trans "archive" %} {% else %} {% trans "unread" %} {% endif %} {% endblock %} {% block menu %} {% include '_menu.twig' %} {% endblock %} {% block content %} {% if tag %}

{% trans "Tag" %}: {{ tag.value }}

{% endif %} {% if entries is empty %}

{% trans "No articles found." %}

{% else %}
{% include '_display-mode.twig' %} {% include '_sorting.twig' %}
{% block pager %} {% if nb_results > 1 %}
{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %}
{{ page_links | raw }}
{% elseif nb_results == 1 %} {% if search_term is defined %}
{% trans "Only one result found for " %} « {{ search_term }} »
{% endif %} {% endif %} {% endblock %}
{% for entry in entries %}

{{ entry.title|raw }}

{% if entry.content| getReadingTime > 0 %}
{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min
{% else %}
{% trans "estimated reading time :" %} < 1 min
{% endif %}

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

{% endfor %}
{{ block('pager') }} {% if view == 'home' %}{% if nb_results > 1 %}

{% trans "Mark all the entries as read" %}

{% endif %}{% endif %} {% if searchterm is defined %}

{% trans "Tag these results as" %} {{ searchterm }}

{% endif %} {% if tag %}

{% trans "Download the articles from this tag in an epub" %}

{% elseif search_term is defined %}

{% trans "Download the articles from this search in an epub" %}

{% else %}

{% trans "Download the articles from this category in an epub" %}

{% endif %} {% endif %} {% endblock %}