Skip to content Skip to footer navigation

List Modifier

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