Description
Output the next option in a group on each call.
Syntax
{% cycle <group>: <value_1>, ..., <value_n> %}
Examples
{% cycle 'group 1': 'blue', 'green', 'red' %}
{% cycle 'group 1': 'blue', 'green', 'red' %}
{% cycle 'group 2': 'blue', 'green', 'red' %}
{% cycle 'group 1': 'blue', 'green', 'red' %}
will result in
blue
green
blue
red