1
Fork 0

webfinger: Don't link self

This commit is contained in:
Steffo 2024-11-16 07:29:09 +01:00
parent 7319a3fe71
commit 8ca9d01688
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -128,7 +128,16 @@
{% for link in links %}
<dt>
<h4>
<a href="{{ link[0] }}">{{ link[0] }}</a>{% if link[1] is not none %} <small>(<span>{{ link[1] }}</span>)</small>{% endif %}
{% if link[0] != "self" %}
<a href="{{ link[0] }}">{{ link[0] }}</a>
{% else %}
<span>{{ link[0] }}</span>
{% endif %}
{% if link[1] is not none %}
<small>
(<span>{{ link[1] }}</span>)
</small>
{% endif %}
</h4>
</dt>
<dd>