{% endif %}
{% if ads is defined and ads and ((evenIndex == 1 and (i + 1) % 5 == 0 and (i + 1) / 5 > adIndex) or (evenIndex == 0 and i % 5 == 0 and i / 5 > adIndex)) and i > 0 %}
{% if evenIndex == 1 %}
{% set adIndex = ((i + 1) / 5) + adOffset %}
{% set evenIndex = 0 %}
{% else %}
{% set adIndex = (i / 5) + adOffset %}
{% set evenIndex = 1 %}
{% endif %}
{% endif %}
{# {% if ads is not null and ((i % 6 == 0 and oddPosition == 0) or (i % 5 == 0 and evenPosition == 1)) %}
{% if i % 6 %}
{% set oddPosition = 1 %}
{% if not testDesign is defined %}