{% comment %} This is a template for a bundle of mini versions of a team card. A set of "person" objects needs to passed as a variable of this template. {% endcomment %} {% if include.persons.size > 0 %}
{% for person_id in include.persons %} {% assign person_entry = site.data.hifis_team | where: "id", person_id %} {% if person_entry.size > 0 %} {% assign person = person_entry[0] %} {% include team_card_mini.html person=person %} {% else %} {% include team_card_mini_non_member.html person_name=person_id %} {% endif %} {% endfor %}
{% endif %}