From 0b50fa27be83cb4088eb2033272b5e8e94447890 Mon Sep 17 00:00:00 2001 From: Simon C Date: Wed, 22 Feb 2023 14:23:23 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20Ajout=20de=20la=20l=C3=A9gende=20des=20i?= =?UTF-8?q?mages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 0033dcf..221dbe8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,8 +12,8 @@ src="{{ $resizedSmall.RelPermalink }}" srcset="{{ $resizedSmall.RelPermalink }} 600w, {{ $resizedBig.RelPermalink }} 1920w" sizes="(max-width: 600px) 500px, 1920px" - alt="{{ .Params.image_ }}" - title="{{ .Params.image_ }}" + alt="{{ or .Params.image_ .Params.image_credit }}" + title="{{ or .Params.image_ .Params.image_credit }}" /> {{ end }}