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
|
|
@ -4,7 +4,7 @@
|
|||
<article>
|
||||
<?php snippet('cover', slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
|
||||
<h1 class="main-title"><?= $page->title() ?></h1>
|
||||
<?= $page->presentation() ?>
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
<article>
|
||||
<?php snippet('cover', ['isOpen' => true], slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h2
|
||||
class="main-title fs-xl">
|
||||
<?= $page->title() ?></h2>
|
||||
<h1 class="main-title"><?= $page->title() ?></h1>
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
<div id="main-content">
|
||||
|
|
|
|||
|
|
@ -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() ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,8 +9,12 @@
|
|||
class="no-underline home-baseline"
|
||||
title="lire l'éditorial"
|
||||
>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle()->inline() ?></h2>
|
||||
<h2 class="main-title"><?= $site->subtitle()->inline() ?></h2>
|
||||
</a>
|
||||
<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>
|
||||
<a href="#main-edito" class="main-edito-btn | no-underline" title="lire l'éditorial">
|
||||
<p
|
||||
class="oggle-btn toggle-btn--left"
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
<div id="main-content">
|
||||
<?= $page->body() ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<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>
|
||||
<?= $page->body() ?>
|
||||
<form id="subscribe-form">
|
||||
<label for="email">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue