Last updated: May 14, 2024 · Published: May 14, 2024
Randomizes the order of an array.
Combine with first to get a random item
{% assign myArray = 'one,two,three,four' | split: ',' -%} {{ myArray | shuffle }}
"two,four,three,one"
where
img_tag