Modifier: reverse


Reverse the order of the characters in a string or the items in an array.

status: repaid
order_of_ceremony:
  - photos
  - service
  - eat
  - party
{{ status | reverse }}
{{ order_of_ceremony | reverse | list }}
diaper
party, eat, service, photos

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on July 20, 2019