ampersand_list Modifier

Turn a simple array into a comma delimited string with a friendly little ampersand between the last two items.

fruits:
- apples
- bananas
- jerky
{{ fruits | ampersand_list }}
apples, bananas & jerky
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →