{% for post in posts limit: post_limit %} {% capture counter %}{% cycle 'odd', 'even' %}{% endcapture %} {% include blog-post.html %} {% if counter == 'even' %}
{% endif %} {% endfor %}