{% extends 'layouts/base.njk' %}

{% set newsListItems = collections.posts %}

{% block content %}
  <main id="main-content" class="posts" tabindex="-1">
    <div class="[ wrapper ]">
      <h1 class="[ member-list__heading ]">{{ pageHeading }}</h1>
      <ul class="post-filter">
        <li class="active">
          <a href="/posts/">Tout</a>
        </li>
        <li>
          <a href="/posts-news/">Actualités</a>
        </li>
        <li>
          <a href="/posts-events/">Évènements</a>
        </li>
      </ul>
    </div>
    <section class="[ news-list wrapper ]">
      {% include "partials/components/posts-list.njk" %}
    </section>
    
    {% include "partials/components/contact-form.njk" %}
  </main>
{% endblock %}
