{% regroup job_members by job.name as all_jobmem_list %}

{% for jobmem in all_jobmem_list %}
    <article id="{{jobmem.list.0.job.slug}}" class="members-article">
        <a href="#{{jobmem.list.0.job.slug}}" class="title">
            <i class="far fa-link"></i>
            <h2>{{jobmem.grouper}}</h2>
        </a>
        <div class="members-listing">
            {% for jm in jobmem.list %}
                {% with member=jm.member %}
                {% include 'members/partials/_member.html' %}
                {% endwith %}
            {% endfor %}
        </div>
    </article>
{% endfor %}
