add author page
This commit is contained in:
parent
2114fbbb8e
commit
f9397935bd
4 changed files with 26 additions and 18 deletions
|
|
@ -18,7 +18,8 @@
|
|||
'left' => [
|
||||
'label' => 'Présentation',
|
||||
'content' => $page->presentation()
|
||||
]
|
||||
],
|
||||
'authorFilter' => $page->author()
|
||||
]) ?>
|
||||
</article>
|
||||
</main>
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<article>
|
||||
<div class="article-header">
|
||||
<h1 class="main-title title-center <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h1>
|
||||
<p>Par <a href="/auteur/<?= Str::slug($page->author()->toUser()->name()) ?>" title="Voir les articles d'<?= $page->author()->toUser()->name() ?>"><?= $page->author()->toUser()->name() ?></a></p>
|
||||
<p><span class="opacity" style="--opacity:.5">par</span> <a class="author no-line" href="/auteurs/<?= Str::slug($page->author()->toUser()->name()) ?>" title="Voir les articles d'<?= $page->author()->toUser()->name() ?>"><?= $page->author()->toUser()->name() ?></a></p>
|
||||
</div>
|
||||
<?php snippet('tabs', [
|
||||
'left' => [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue