New: Learn Statamic on Laracasts!

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 →

Collection with alphabetical listing

Alexander April 7, 2021 by Alexander

Hello,

I have a collection which I want to display in alphabetical order, but like an index site of a book.

Example:

A
Another Day
All of me
All together

B
Blackbird
Bye Bye Blackbird

C
Chameleon
Corcovado

....

In plain PHP I would solve this by using variables during the loop. But in Antlers?

Bye

>>>>>>> Unanswered <<<<<<<
3 Replies
2 Followers