webfinger
: Don't link self
This commit is contained in:
parent
7319a3fe71
commit
8ca9d01688
1 changed files with 10 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue