nav : mettre publication à venir plutôt que la date de publication
This commit is contained in:
parent
f903d12369
commit
1cd5360a1a
2 changed files with 14 additions and 9 deletions
|
|
@ -18,7 +18,7 @@
|
|||
class="text__title no-underline">
|
||||
<h4><?= $article->title() ?></h4>
|
||||
<?php if ($article->subtitle()->isNotEmpty()): ?>
|
||||
<p><?= $article->subtitle() ?></p>
|
||||
<p><?= $article->subtitle() ?></p>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<div class="text__infos">
|
||||
|
|
@ -26,12 +26,15 @@
|
|||
<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">dans</span> <a
|
||||
href="<?= $article->parent()->url() ?>"><?= $article->parent()->title() ?></a>
|
||||
/ <a
|
||||
href="/categories/<?= $article->category() ?>"><?= $article->category() ?></a>
|
||||
<!-- <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
|
||||
href="/categories/<?= $article->category() ?>"><?= $article->category() ?></a>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue