mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-26 13:45:13 -07:00
Migrated from liquid-for-designers v18
@@ -210,7 +210,7 @@ During every @for@ loop, the following helper variables are available for extra
|
|||||||
<pre>
|
<pre>
|
||||||
forloop.length # => length of the entire for loop
|
forloop.length # => length of the entire for loop
|
||||||
forloop.index # => index of the current iteration
|
forloop.index # => index of the current iteration
|
||||||
forloop.index0 # => index of the current iteration (zero based)
|
forloop.index0 # => index of the current iteration (zero based)
|
||||||
forloop.rindex # => how many items are still left?
|
forloop.rindex # => how many items are still left?
|
||||||
forloop.rindex0 # => how many items are still left? (zero based)
|
forloop.rindex0 # => how many items are still left? (zero based)
|
||||||
forloop.first # => is this the first iteration?
|
forloop.first # => is this the first iteration?
|
||||||
|
|||||||
Reference in New Issue
Block a user