🐛 fix: fix hcard html tags (#508)

This commit is contained in:
Henri Bourcereau 2025-04-05 22:53:51 +02:00 committed by GitHub
parent 94af15b6e8
commit 3d2c3a14b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 %}
<dl>
{% set dl_started = true %}
{% set_global dl_started = true %}
{% endif %}
<dt>{{ key | replace(from="p_", to="") | replace(from="u_", to="") | replace(from="dt_", to="") | replace(from="_", to=" ") | capitalize }}</dt>
<dd class="{{ key | replace(from="_", to="-") }}">{{ value }}</dd>
@ -70,4 +70,6 @@
{% if dl_started %}
</dl>
{% endif %}
</div>
{% endif %}