From 8f834a10c56240b7000f5959557036fa2e864791 Mon Sep 17 00:00:00 2001 From: gribse Date: Thu, 15 May 2025 20:59:13 +0200 Subject: [PATCH] add "last updated on" --- hugo.yml | 2 ++ layouts/partials/footer.html | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/hugo.yml b/hugo.yml index 7bdb1c9..c42bf52 100644 --- a/hugo.yml +++ b/hugo.yml @@ -62,6 +62,8 @@ params: ShowFullTextinRSS: true # Supports to show your whole contents in RSS, not just summary + showLastMod: true + outputFormats: RSS: baseName: "feed" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b2ef879..14650c0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -23,6 +23,10 @@ Flux RSS + + {{ with (readFile "/../data/gitinfo.txt") }} + Mis à jour : {{ . }} + {{ end }} {{- end }}