{% set currentPage = 7 %} {% extends "../../layout/archive-contacts.twig" %} {% block posts %} <div class="cards-container"> <div class="cards-container__inner"> {% for card in post_type.people.items|sortbylast('title') %} {% set card = card|merge({"columns":true, "classes": "card--alt"}) %} {% include '../../layout/partials/card.twig' with {'card': card} %} {% endfor %} </div> </div> {% endblock %}