Turn a simple array into a comma delimited list with no comma after the last item.
things: - batman - zombies - scrunchies
{{ things | list }}
{{ Statamic::modify($things)->list() }}
batman, zombies, scrunchies
list
ModifierTurn a simple array into a comma delimited list with no comma after the last item.
things: - batman - zombies - scrunchies
{{ things | list }}
{{ Statamic::modify($things)->list() }}
batman, zombies, scrunchies
These similar modifiers may aid you on your quest.
Submit improvements, related content, or suggestions through Github.
Betterify this page →