Skip to content
Discussion options

You must be logged in to vote

Try surrounding the modifiers inside the conditions with parenthesis instead:

{{ if (count|mod:3) == 1 }}

{{ elseif (count|mod:3) == 2 }}

{{ elseif (count|mod:3) == 0 }}

{{ /if }}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BTB1999
Comment options

Answer selected by BTB1999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants