Fixed email showing up when there is no email but facebook setting

This commit is contained in:
Richard Thier 2020-02-24 14:22:03 +01:00
parent 42e82afb0b
commit 4060eb3eda

View File

@ -19,7 +19,7 @@
{% endif %}
<li><a href="#"><i class="fas fa-envelope-square"></i><Br/>{{ section.contact_text }}</a>
<ul>
{% if section.facebook %}
{% if section.email %}
<li><a href="mailto:{{ section.email }}"><i class="fas fa-envelope-square"></i>Email</a></li>
{% endif %}
{% if section.facebook %}