The basics of what I'm trying to do is use a "random" filter to select a random item from my list, but then I want to use this randomly selected item in several places.
How to set a filter result for a variable that I can use in several places.
If I call the "random" filter several times, there is little chance that they will be the same.
Essentially what I want to do:
{% set image = {{ images | random }} %}
obviously this does not work.
Rhollister
source share