{% set colors = ["blue", "red", "yellow", "blue", "green", "red"] %}
{% for t in text %} {% set index = loop.index0 % 6 %}
{{ t }}
{% endfor %}