{% extends 'members/index.html' %}

{% block title %}Fachschaft{% endblock %}

{% block members_content %}
    {% if fs_info %}
        <div class="db-page-content">
            {{ fs_info.content|safe }}
        </div>
    {% endif %}

    <article class="members-article">
        <div class="members-listing">
            {% for member in members %}
                <figure>
                    <a href="{{ member.get_absolute_url }}">
                        <img loading="lazy" src="{{ member.image.thumb.url }}" alt="Portraitfoto von {{ member.firstname }}" class="w-36 h-36 bg-white">
                        <figcaption>
                            <h3>{{ member.firstname }} {{ member.surname }}</h3>
                        </figcaption>
                    </a>
                </figure>
            {% endfor %}
        </div>
    </article>
{% endblock %}
