2024-04-09 17:10:43 +02:00
|
|
|
<li
|
|
|
|
|
class="text"
|
|
|
|
|
>
|
2024-11-26 13:21:42 +01:00
|
|
|
<a href="<?= $article->url() ?>" class="text__title no-underline">
|
2024-04-06 10:08:45 +02:00
|
|
|
<h3><?= $article->title() ?></h3>
|
|
|
|
|
</a>
|
2024-04-09 08:38:29 +02:00
|
|
|
<div class="text__infos">
|
2024-04-06 10:08:45 +02:00
|
|
|
<p>
|
2024-04-09 17:10:43 +02:00
|
|
|
<span class="light">par</span>
|
2024-10-16 08:53:53 +02:00
|
|
|
<a class="author" href="/auteurs/<?= Str::slug($article->author()->toPage()->title()) ?>"><?= $article->author()->toPage()->title() ?></a><br>
|
2024-04-09 17:10:43 +02:00
|
|
|
<span class="light">publié le </span><?= $article->published()->toDate('d/m/Y') ?><br>
|
2026-02-09 22:24:17 +01:00
|
|
|
<span class="light">dans</span>
|
|
|
|
|
<?php foreach(allYears($article) as $year): ?>
|
|
|
|
|
<a href="<?= $year->url() ?>"><?= $year->title() ?></a> /
|
|
|
|
|
<?php endforeach ?>
|
|
|
|
|
<a href="/categories/<?= $article->category() ?>"><?= $article->category() ?></a>
|
2024-04-06 10:08:45 +02:00
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|