Skip to content

Update core/components/getfeed/snippet.getfeed.php#16

Open
bertoost wants to merge 1 commit intosplittingred:developfrom
bertoost:patch-1
Open

Update core/components/getfeed/snippet.getfeed.php#16
bertoost wants to merge 1 commit intosplittingred:developfrom
bertoost:patch-1

Conversation

@bertoost
Copy link
Copy Markdown

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