{% assign pages = site.pages | sort: 'sortkey' %} {% for page in pages %} {% if page.categories contains "Partenaire" %} <div class="partner"> <div class="name"><a href="{{ page.url }}">{{ page.title }}</a></div> <div class="description">{{ page.description }}</div> </div> {% endif %} {% endfor %}