Skip to content
Snippets Groups Projects
contacts.html 914 B
Newer Older
Erxleben, Fredo's avatar
Erxleben, Fredo committed

{% 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 %}