{# Template : Team #}

{% extends ('layouts/' ~ page_meta.layout) %}

{% block content %}


    {% include 'navigation/breadcrumbs.twig' %}
    
    {% include 'includes/elements/title_wrap.twig' with {
        title: p.pagedata['Title'][0]['Title']['value'],
        subtitle: p.pagedata['Title'][0]['Subtitle']['value'],
        content: p.pagedata['Title'][0]['Content']['value'],
        class: '',
        dark_background: false
    }%}

    {% if p.pagedata['Team'][0]['Name']['value'] is not empty %}
        <div class="teamWrap">

            <div class="wrapper">

                <ul class="teamList">
                    {% for teammate in p.pagedata['Team'] %}
                        {% include 'includes/pages/team/team_member.twig' %}
                    {% endfor %}
                </ul>

            </div> <!-- .wrapper -->

        </div> <!-- .teamWrap -->
    {% endif %}

    



{% endblock %}
