mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 00:55:11 -07:00
Migrated from liquid-for-designers v8
@@ -149,7 +149,7 @@ hit 2 or 3
|
|||||||
h2. Cycle
|
h2. Cycle
|
||||||
|
|
||||||
Often you have to alternate between different colors or similar tasks.
|
Often you have to alternate between different colors or similar tasks.
|
||||||
Liquid has built-in support for such operations using the cycle tag.
|
Liquid has built-in support for such operations, using the @cycle@ tag.
|
||||||
|
|
||||||
<pre><code>
|
<pre><code>
|
||||||
{% cycle 'one', 'two', 'three' %}
|
{% cycle 'one', 'two', 'three' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user