I’m trying to use the @rowstart in foreach, but the if block never triggers. I would expect the below to print the first post in each column, but every post triggers the “else” clause, printing ‘nope’. I tried printing {{@rowstart}} in the loop, and it’s blank every iteration. Other @-values such as @even print true/false correctly.
{{#foreach posts columns="3"}}
{{#if @rowstart}}
{{>post-card }}
{{else}} nope
{{/if}}
{{/foreach}}
I may be misreading the code, but in the source for the helper, it doesn’t look like the column field is ever parsed from the input. I can see limit, from and to are all parsed at lines 54-56, but columns seems to stay at the initialisation value.