collapse base.html else/if to one line

This commit is contained in:
alxd 2018-10-16 12:50:43 +02:00
parent 6a0ebc70e5
commit 9e23ebfcad

View file

@ -124,12 +124,7 @@
<ul class="social"> <ul class="social">
{% for name, link in SOCIAL %} {% for name, link in SOCIAL %}
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank"> <li><a class="sc-{{ name }}" href="{{ link }}" target="_blank">
<i class="{% if name in ['envelope-open', 'rss'] %} <i class="{% if name in ['envelope-open', 'rss'] %}fas{% else %}fab{% endif %} fa-{{ name }}">
fas
{% else %}
fab
{% endif %}
fa-{{ name }}">
</i> </i>
</a></li> </a></li>
{% endfor %} {% endfor %}