We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Is there a slice function to use with limit?

Kevin Mitchell December 28, 2018 by Kevin Mitchell

What I am looking to setup, so have multiple groups of a collection, and treat them differently on a page. Basically, the latest article will have larger treatments, while the next 4 will be different and then 5 onward will be setup in basic grids.

I see that limit can be used to limit the numbers, but is there a slice function in statamic? In TWIG, I would do something like |Slice(3,8) to start with the 3rd article (based on publish date)

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
2 Replies
3 Followers