This commit is contained in:
parent
4cdb92017b
commit
1c2c45e5ab
4 changed files with 14 additions and 4 deletions
|
|
@ -3,7 +3,10 @@
|
|||
<article>
|
||||
<?php snippet('cover', array('isOpen' => true), slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
|
||||
<h1 class="main-title"><?= $page->title() ?></h1>
|
||||
<?php if ($page->subtitle()->isNotEmpty()): ?>
|
||||
<h2 class="main-subtitle fs-l"><?= $page->subtitle()->inline() ?></h2>
|
||||
<?php endif ?>
|
||||
<p>
|
||||
<span class="light">par</span>
|
||||
<a class="author" href="/auteurs/<?= Str::slug($page->author()->toPage()->title()) ?>"><?= $page->author()->toPage()->title() ?></a><br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue