From 276c567bc8ab463f893b296de525894989cc41de Mon Sep 17 00:00:00 2001 From: antonin gallon Date: Fri, 20 Feb 2026 17:13:42 +0100 Subject: [PATCH] =?UTF-8?q?newsletter=20blueprint=20add=20label=20and=20ad?= =?UTF-8?q?just=20layout.=20Sommaire=20>=20table=20des=20mati=C3=A8res?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/src/article.css | 5 +++-- site/blueprints/pages/newsletter.yml | 5 +++-- site/snippets/footer.php | 13 ++++++------- site/snippets/panel-toc.php | 4 ++-- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/assets/css/src/article.css b/assets/css/src/article.css index c94b0bb..1b00098 100644 --- a/assets/css/src/article.css +++ b/assets/css/src/article.css @@ -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%; } diff --git a/site/blueprints/pages/newsletter.yml b/site/blueprints/pages/newsletter.yml index f446e1b..d2408c4 100644 --- a/site/blueprints/pages/newsletter.yml +++ b/site/blueprints/pages/newsletter.yml @@ -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 diff --git a/site/snippets/footer.php b/site/snippets/footer.php index 61b668b..93ebd30 100644 --- a/site/snippets/footer.php +++ b/site/snippets/footer.php @@ -1,4 +1,3 @@ - is(page('lettre')) && !$page->is(page('a-propos'))): ?> - + \ No newline at end of file diff --git a/site/snippets/panel-toc.php b/site/snippets/panel-toc.php index f72eb4c..c4e62dc 100644 --- a/site/snippets/panel-toc.php +++ b/site/snippets/panel-toc.php @@ -1,4 +1,4 @@
- -
+ + \ No newline at end of file