{% extends shell('public') %} {% block title %}{{ _('Team') }} — {{ SPLENT_APP }}{% endblock %} {% block hero %} {{ render_block('hero', eyebrow=_('People'), title=_('Team'), subtitle=_('The people behind the project.')) }} {% endblock %} {% block content %}
{% for role, members in groups.items() %} {#- A role that stands for an organisation carries a logo, a description or a website; a plain role renders as the bare heading it always was. #} {%- if role.logo or role.description or role.link %}
{% if role.logo %} {% if role.link %}{% endif %} {% if role.link %}{% endif %} {% endif %}

{{ role.name }}

{% if role.description %}

{{ role.description }}

{% endif %} {% if role.link %}{{ (role.link | safe_url).split('://')[-1].rstrip('/') }}{% endif %}
{%- else %}

{{ role.name }}

{%- endif %} {#- Only a product that sets TEAM_SHOW_EMPTY_ROLES lists a role with nobody published, and then shows it without an empty grid. #} {%- if members %}
{% for m in members %}
{% if m.photo %} {{ m.name }} {% else %} {% endif %}

{{ m.name }}

{% if m.position %}

{{ m.position }}{% if m.affiliation %} · {{ m.affiliation }}{% endif %}

{% endif %} {% if m.links or m.link or m.email %} {% endif %}
{% endfor %}
{%- endif %} {% else %}

{{ _('No team members yet.') }}

{% endfor %}
{% endblock %}