{% extends 'editions/entete_editeur.inc.html.twig' %}
{% block subcontent %}
<main class="tc-desktop-2_3 tc-phone-1_1">
<section class="tc-panel tc-editions tc-editions">
<div class="tc-panel-header">
<h2 class="tc-color-textes">Tous les textes</h2>
<h3 class="tc-color-textes">Tri par date de parution
{% if year is defined and year %}
{{ year }}
{% endif %}
</h3>
</div>
<div class="tc-panel-body tc-masonry-container">
{% for idtext,text in texts %}
<div class="tc-block tc-tablet-1_2 tc-textes-tpl-">
{% include '/editions/texte_titre.inc.html.twig' %}
</div>
{% endfor %}
</div>
<div class="tc-panel-footer">
{% include 'includes/pagination.inc.html.twig' %}
</div>
</section>
</main>
{% endblock %}