Hey Ghost geniuses
Trying to figure out how to pass an array of randomly generated numbers to articles within a posts loop. In other words, something like this:
{{#get "posts"}}
{{#foreach}}
<article class="gh-card {{#has index="0,1,4,6"}} large{{/has}}>
{{/foreach}}
{{/get}}
…but instead of 0,1,4,6 I’d use an array of randomly generated numbers within the number of posts being paginated in tag.hbs.
Any bright ideas or pointers?