From 06c2b67cbf008fc3a671beeb02a38776fa4afd83 Mon Sep 17 00:00:00 2001 From: Olivier Maury <Olivier.Maury@inrae.fr> Date: Wed, 23 Oct 2024 11:34:53 +0200 Subject: [PATCH] fix: affichage des notes de version. refs #21 --- themes/hugo-theme-relearn/layouts/_default/release-notes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hugo-theme-relearn/layouts/_default/release-notes.html b/themes/hugo-theme-relearn/layouts/_default/release-notes.html index 7cee723..b4238e3 100644 --- a/themes/hugo-theme-relearn/layouts/_default/release-notes.html +++ b/themes/hugo-theme-relearn/layouts/_default/release-notes.html @@ -1,7 +1,7 @@ {{- partialCached "page-meta.hugo" . .RelPermalink }} {{- partial "header.html" . }} {{- range where site.RegularPages "Section" "actualites" }} - {{- if eq .Params.MediaName nil }} + {{- if eq .Params.Layout "release-note" }} <article> <header> <h2>{{ .Title }} − {{ .Date | time.Format ":date_long" }}</h2> -- GitLab