{% if cat %} {% for cat in cat %} {% if cat.S_ROW_COUNT is even %} {% endif %} {% if cat.S_ROW_COUNT is odd %} {% endif %} {% if cat.S_ROW_COUNT is even and cat.S_LAST_ROW %} {% endif %} {% endfor %}
 
{% endif %}