liquid
liquid copied to clipboard
[ Feature Request ] Block Object - Index Property
It would be great if the Block object had a property
that indicated it's position in the section.blocks list.
( Similar to how the Section object does )
This way , when filtering for a certain block type it's positional data would remain.
{%- liquid
assign block = blocks | where : 'type' , 'Type' | first
assign index0 = block.index0
assign index = block.index
-%}
It would help tremendously with animations