newsletter blueprint add label and adjust layout. Sommaire > table des matières

This commit is contained in:
antonin gallon 2026-02-20 17:13:42 +01:00
parent 01c5b098e4
commit 276c567bc8
4 changed files with 14 additions and 13 deletions

View file

@ -41,11 +41,12 @@ article h3 {
}
}
article li, article ol{
article li,
article ol {
margin-left: var(--unit--horizontal);
}
article figure img{
article figure img {
max-width: 100%;
}

View file

@ -7,7 +7,7 @@ tabs:
fields:
body:
extends: fields/body
- width: 1/2
- width: 2/3
fields:
subscribers:
label: Abonnés
@ -17,10 +17,11 @@ tabs:
email:
type: email
inscriptionDate:
label: Date d'inscription
type: date
display: MM/DD/YYYY
default: today
- width: 1/2
- width: 1/3
sections:
newsletters:
label: Lettres

View file

@ -1,4 +1,3 @@
<?php if (!$page->is(page('lettre')) && !$page->is(page('a-propos'))): ?>
<footer id="main-footer">
<ul id="links">
@ -6,9 +5,10 @@
<button class="plus open-nav" data-open-panel="text" title="chercher parmi les textes">textes</button>
</li>
<?php if ($page->hasToc()): ?>
<li class="open-nav-wrapper hidden">
<button class="plus open-nav" data-open-panel="toc" title="ouvrir le sommaire">sommaire</button>
</li>
<li class="open-nav-wrapper hidden">
<button class="plus open-nav" data-open-panel="toc" title="ouvrir le table des matières">table des
matières</button>
</li>
<?php endif ?>
<li>
<a href="/lettre" id="subscribe-btn" class="plus">
@ -16,14 +16,13 @@
</a>
</li>
<li>
<a
href="<?= $site->find('a-propos')->url() ?>">
<a href="<?= $site->find('a-propos')->url() ?>">
à propos
</a>
</li>
</ul>
</footer>
<?php endif ?>
<?php endif ?>
</body>
</html>

View file

@ -1,4 +1,4 @@
<div class="panel panel-toc" data-panel="toc">
<?php snippet('toc') ?>
<button class="less panel-close">sommaire</button>
</div>
<button class="less panel-close">table des matières</button>
</div>