From 3e53b2f5487a4fb795b6bb87624bdb527ca787e1 Mon Sep 17 00:00:00 2001 From: Olivia Simonet <91660674+Olivia206@users.noreply.github.com> Date: Mon, 18 Nov 2024 17:28:56 +0100 Subject: [PATCH] Masquer les signatures lorsqu'elles n'ont pas d'auteur ou autrice (#738) --- layouts/posts/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/posts/single.html b/layouts/posts/single.html index f4b5acab2..e9bc93477 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -18,7 +18,7 @@ {{ partial "posts/after-contents.html" . }} - {{ if site.Params.posts.single.author_signature }} + {{ if and site.Params.posts.single.author_signature .Params.authors }} {{ partial "posts/signature.html" . }} {{ end }}