nav : mettre publication à venir plutôt que la date de publication

This commit is contained in:
isUnknown 2025-02-06 13:14:57 +01:00
parent f903d12369
commit 1cd5360a1a
2 changed files with 14 additions and 9 deletions

View file

@ -26,8 +26,11 @@
<span class="light">par</span>
<a class="author"
href="/auteurs/<?= Str::slug($author) ?>"><?= $author ?></a><br>
<span class="light">publié le
</span><?= $article->published()->toDate('d/m/Y') ?><br>
<!-- <span class="light">publié le
</span><?php // echo $article->published()->toDate('d/m/Y')?><br>
-->
<span class="light">publication à venir le</span> 21/02/24<br>
<span class="light">dans</span> <a
href="<?= $article->parent()->url() ?>"><?= $article->parent()->title() ?></a>
/ <a

View file

@ -45,8 +45,10 @@
<span class="light">par</span>
<a class="author"
href="/auteurs/<?= Str::slug($author) ?>"><?= $author ?></a><br>
<span class="light">publié le
</span><?= $article->published()->toDate('d/m/Y') ?><br>
<!-- <span class="light">publié le
</span><?php // echo $article->published()->toDate('d/m/Y')?><br>
-->
<span class="light">publication à venir le</span> 21/02/24<br>
<span class="light">dans</span> <a
href="<?= $article->parent()->url() ?>"><?= $article->parent()->title() ?></a>
/ <a