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); margin-left: var(--unit--horizontal);
} }
article figure img{ article figure img {
max-width: 100%; max-width: 100%;
} }

View file

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

View file

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

View file

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