Fixes #43 - Standardisation des titres faite avec correction en h1 de ce qui ne devait pas être des h2 et --font-size-xl
This commit is contained in:
parent
0c447209d9
commit
fcf47818d0
8 changed files with 16 additions and 13 deletions
|
|
@ -3,9 +3,7 @@
|
|||
<article>
|
||||
<?php snippet('cover', ['isOpen' => true], slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h2
|
||||
class="main-title <?= setTitleFontSizeClass($page->title()) ?>">
|
||||
<?= $page->title() ?></h2>
|
||||
<h1 class="main-title"><?= $page->title() ?></h1>
|
||||
<p>
|
||||
<span class="light">par</span>
|
||||
<a class="author"
|
||||
|
|
@ -17,6 +15,10 @@
|
|||
/ <a
|
||||
href="/categories/<?= $page->category() ?>"><?= $page->category() ?></a>
|
||||
</p>
|
||||
<p class="only-print">
|
||||
<span class="light">imprimé le </span><span><?= \Kirby\Toolkit\Date::today()->format('d/m/Y'); ?></span><br>
|
||||
<span class="light url"><?= $page->url() ?></span>
|
||||
</p>
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue