Skip to content

Conversation

@bertoost
Copy link

Added "idx" and "limit" to item placeholders to being able to decide wheter or not in the last entry.

[[+idx:lt=`[[+limit]]`:then=`when not the last`:else=`when last`]]

I use it to separate my items. The [[+total]] placeholder is containing the absolute total and not the limited total.

Added "idx" and "limit" to item placeholders to being able to decide wheter or not in the last entry.

<pre>[[+idx:lt=`[[+limit]]`:then=`when not the last`:else=`when last`]]</pre>

I use it to separate my items. The [[+total]] placeholder is containing the absolute total and not the limited total.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant