-
- {% if entry.readingTime > 0 %}
-
{% trans %}estimated reading time :{% endtrans %} {{ entry.readingTime }} min
- {% else %}
-
{% trans %}estimated reading time :{% endtrans %} < 1 min
- {% endif %}
-
-
- {% if entry.previewPicture is null %}
-
{{ entry.content|striptags|slice(0, 300) }}…
- {% else %}
-
- {% endif %}
+
+
+
+ {% 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 %}
+
+
+
+ {{ entry.createdAt|date('Y-m-d') }}
+
+
- {% endfor %}
+
+
+ {% if (entry.previewPicture is null or listMode == 1) %}
+
+
{{ entry.content|striptags|slice(0, 300) }}…
+ {% else %}
+
+ {% for tag in entry.tags | slice(0, 3) %}
+ - {{ tag.label }}
+ {% endfor %}
+
+
+ {% endif %}
+
+ {% endfor %}
+
+ {% if entries.getNbPages > 1 %}
+ {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
{% endif %}
-