From b4f83a407939afcbebde198015f6d9672af92593 Mon Sep 17 00:00:00 2001 From: Richard Dern Date: Fri, 3 Apr 2026 01:35:44 +0200 Subject: [PATCH] Utiliser la date du dernier commit Git dans le footer --- config/_default/config.yaml | 1 + themes/2026/layouts/_partials/footer.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 3926ba1c..b1f6e8b0 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -5,6 +5,7 @@ title: Richard Dern copyright: "© Richard Dern" disableHugoGeneratorInject: true enableEmoji: true +enableGitInfo: true timeZone: Europe/Paris theme: ["2026"] security: diff --git a/themes/2026/layouts/_partials/footer.html b/themes/2026/layouts/_partials/footer.html index 898d282f..2f501adb 100644 --- a/themes/2026/layouts/_partials/footer.html +++ b/themes/2026/layouts/_partials/footer.html @@ -48,10 +48,10 @@ {{- end -}} - {{- with .Lastmod -}} + {{- with .GitInfo -}}

Dernière modification de cette page : - +

{{- end -}}