This example should help, you just need to pass to cycle the two markup
{% for post in site.categories.articles %}
<article class="{% cycle 'odd', 'even' %}"></article>
{% endfor %}This example should help, you just need to pass to cycle the two markup{% for post in site.categories.articles %} <article class="{% cycle 'odd', 'even' %}"></article> {% endfor %}AP