{% assign role-key = include.role %} {% for role in site.roles %} {% if role.key == role-key %}

{{ role.name }}

{% for item in site.data.people %} {% assign person = item[1] %} {% if person.role == role.key %} {% include person.html person=person image=include.image %} {% endif %} {% endfor %}
{% endif %} {% endfor %}