Modifier: unique


Returns all of the unique items in the array:

checklist:
  - zebra
  - hippo
  - hyena
  - giraffe
  - zebra
  - hippo
  - hippo
  - hippo
  - hippo

{{ checklist | unique | list }}
zebra, hippo, hyena, giraffe

Additional Reading

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

Last modified on March 31, 2016