<p>{articles category="Agendas" ordering="commence-le ASC, title ASC" limit="3"}</p>
<p>{if first}</p>
<div class="cols-3">
<p>{/if}</p>
<div class="home-agendas panel">
<p>[image-main-blog render_class="home-agendas-image"]</p>
<h3 class="media-heading">[title]</h3>
<p>[commence-le format="d-m-Y" render_class="home-agendas-date"]</p>
<p>[readmore text="Voir" class="home-agendas-readmore"]</p>
</div>
<p>{if last}</p>
</div>
<p>{/if}</p>
<p>{/articles}</p>
<p>{if first}</p>
<div class="cols-[total]">
<p>{/if}</p>
<style>
.cols-3 {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
</style>
<h2 class="home-agendas-headtitle">TITLE</h2>
<p>{articles category="Agendas" ordering="commence-le ASC, title ASC" limit="3"}</p>
<p>{if first}</p>
<div class="cols-3">
<p>{/if}</p>
<div class="home-agendas panel">
<p>[image-main-blog render_class="home-agendas-image"]</p>
<h3 class="media-heading">[title]</h3>
<p>[commence-le format="d-m-Y" render_class="home-agendas-date"]</p>
<p>[readmore text="Voir" class="home-agendas-readmore"]</p>
</div>
<p>{if last}</p>
</div>
<p>{/if}</p>
<p>{/articles}</p>
<p> </p>
<p style="text-align: center;"><a href="LINK" target="_self" class="home-agendas-btn" dir="ltr">Voir tous les évènements</a></p>