-
Huste, Tobias authored
- Also make use of the {%- syntax to reduce whitespace in the generated HTML for the team member includes - Fix alignment of title in the section part
Huste, Tobias authored- Also make use of the {%- syntax to reduce whitespace in the generated HTML for the team member includes - Fix alignment of title in the section part
contacts.html 938 B
{%- assign person = include.person -%}
{%- if person.contact -%}
{%- assign contact = person.contact -%}
<div id="contacts-general">
{%- if contact.email -%}
<div>
<a href="mailto:{{ contact.email }}">
<i class="fas fa-envelope"></i>
{{ contact.email }}
</a>
</div>
{%- endif -%}
{%- if contact.phone -%}
<div>
<a href="tel:{{ contact.phone }}">
<i class="fas fa-phone"></i>
{{ contact.phone }}
</a>
</div>
{%- endif -%}
{%- if contact.fax -%}
<div>
<a href="fax:{{ contact.fax }}">
<i class="fas fa-fax"></i>
{{ contact.fax }}
</a>
</div>
{%- endif -%}
{%- if contact.sms -%}
<div>
<a href="sms:{{ contact.sms }}">
<i class="fas fa-sms"></i>
{{ contact.sms }}
</a>
</div>
{%- endif -%}
</div>
{%- endif -%}