From ec2e7d793b5999dc7a84d626ec1030a584dbe977 Mon Sep 17 00:00:00 2001
From: Olivia206 <olivia.simonet206@gmail.com>
Date: Fri, 26 Apr 2024 10:43:02 +0200
Subject: [PATCH] removed html partial from hero figcaption

---
 layouts/partials/header/hero.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/partials/header/hero.html b/layouts/partials/header/hero.html
index 388a3a3d..b000460a 100644
--- a/layouts/partials/header/hero.html
+++ b/layouts/partials/header/hero.html
@@ -69,7 +69,7 @@
                 aria-label="{{- i18n "commons.lightbox.link.title" -}}">
             </a>
           {{ end }}
-          {{ with partial "GetTextFromHTML" .image.credit }}
+          {{ with .image.credit }}
             <figcaption tabindex="0">
               <div class="credit-content">
                 {{ partial "PrepareHTML" . }}
-- 
GitLab