+
+ <div class="card-content">
+ {% if not entry.previewPicture is null %}
+ <i class="card-title grey-text text-darken-4 activator mdi-navigation-more-vert right"></i>
+ {% endif %}
+
+ <span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}">{{ entry.title|raw|striptags|slice(0, 42) }}</a></span>
+
+ {% if entry.readingTime > 0 %}
+ <div class="estimatedTime grey-text"><span class="tool reading-time">{% trans %}estimated reading time: {% endtrans %} {{ entry.readingTime }} min</span></div>
+ {% else %}
+ <div class="estimatedTime grey-text"><span class="tool reading-time">{% trans %}estimated reading time: {% endtrans %} <small class="inferieur"><</small> 1 min</span></div>
+ {% endif %}
+
+ {% if entry.previewPicture is null %}
+ <p>{{ entry.content|striptags|slice(0, 300) }}…</p>
+ {% endif %}
+ </div>