{% set taxonomy = get_taxonomy(kind=section.extra.group_pages_by) %}
{% set roles = taxonomy.items %}
{% for role in roles %}
{% set icon_path = config.extra.taxonomies["roles"][role.name].icon_path | as_str %}

{% set path = role.name | slugify %}
{% set fullpath = "/roles/" ~ path %}
{{role.name}}
{% for page in role.pages %}
{% include "partials/pageBox.html"%}
{% endfor %}