From 39cf5f4579bc68228d4666d73d8bfa580c51a9e6 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 19 Mar 2026 23:59:17 +0100 Subject: [PATCH] =?UTF-8?q?Simplification=20et=20am=C3=A9lioration=20du=20?= =?UTF-8?q?menu=20ls.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_partials/lsline.html | 20 ++++++++------------ layouts/_partials/lsmenu.html | 8 ++++---- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/layouts/_partials/lsline.html b/layouts/_partials/lsline.html index 9c8b0c2..4cfed12 100644 --- a/layouts/_partials/lsline.html +++ b/layouts/_partials/lsline.html @@ -1,28 +1,24 @@ {{ $page := .page }} - + {{ with (or $page.PublishDate $page.Lastmod) }} {{ end }} diff --git a/layouts/_partials/lsmenu.html b/layouts/_partials/lsmenu.html index 0573cf8..4d1ab5c 100644 --- a/layouts/_partials/lsmenu.html +++ b/layouts/_partials/lsmenu.html @@ -11,16 +11,16 @@ {{/* La commande ls affiche total en Kio. */}}