Skip to content
Snippets Groups Projects
team_card.html 1 KiB
Newer Older
Erxleben, Fredo's avatar
Erxleben, Fredo committed
{% comment %}
    A normal team card is designed for acting as a slightly more prominent
    representation of a person.
    It features a name, title, organization, position and image of the person
    and acts as a link to the full member site.
{% endcomment %}

{% assign person = include.person %}
{% if person %}
<a href="{{ person.id | prepend: 'members/' | relative_url }}">
    <div class="team-card-normal">

        {% include team_card/image.html %}

        <div>
            {% include team_card/organization_short.html    person=person %}
            {% include team_card/title.html                 person=person %}
            {% include team_card/name.html                  person=person %}
            {% include team_card/position.html              person=person %}
            {% include team_card/team_member_associate.html person=person %}
        </div>

    </div>
</a>
{% else %}
    <!--
        WARNING: team_card.html was included,
        but parameter person was not defined
    -->
{% endif %}