From 3d2c3a14b872a952961fdeb6e470741218e47899 Mon Sep 17 00:00:00 2001 From: Henri Bourcereau Date: Sat, 5 Apr 2025 22:53:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20fix=20hcard=20html=20tags?= =?UTF-8?q?=20(#508)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/partials/hcard.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/partials/hcard.html b/templates/partials/hcard.html index 1b191bd..91c023b 100644 --- a/templates/partials/hcard.html +++ b/templates/partials/hcard.html @@ -61,7 +61,7 @@ {% if key not in ['enable', 'with_mail', 'with_social_links', 'homepage', 'full_name', 'avatar', 'biography', 'p_nickname'] %} {% if not dl_started %}
- {% set dl_started = true %} + {% set_global dl_started = true %} {% endif %}
{{ key | replace(from="p_", to="") | replace(from="u_", to="") | replace(from="dt_", to="") | replace(from="_", to=" ") | capitalize }}
{{ value }}
@@ -70,4 +70,6 @@ {% if dl_started %}
{% endif %} + + {% endif %}