Ocultamos twitter si no hay

This commit is contained in:
nukeador 2021-02-04 00:41:09 +01:00
parent c05bdf5adf
commit ad46da0a5c

View File

@ -12,7 +12,7 @@
<ul>
<li><strong>Nombre:</strong> {{ web.name }}</li>
<li><strong>URL:</strong> <a href="https://{{ web.url }}">{{ web.url }}</a></li>
<li><strong>Twitter:</strong> <a href="https://twitter.com/{{ web.twitter }}">@{{ web.twitter }}</a></li>
{% if web.twitter %}<li><strong>Twitter:</strong> <a href="https://twitter.com/{{ web.twitter }}">@{{ web.twitter }}</a></li>{% endif %}
{% if type %}
<li><strong>Ubicación: </strong><a href="/{{ type }}/{{ parent }}">{{ location.name }}</a></li>
{% endif %}