{% assign pages = site.pages | sort: 'sortkey' %} {% for page in pages %} {% if page.categories contains "crapaud" %}