Modifier: collapse

Collapses an array of arrays into a flat array. If duplicate keys exist they will get stomped over.

  - [one, two, three]
  - [four, five, six]
{{ numbers | collapse }}
  - one
  - two
  - three
  - four
  - five
  - six

Additional Reading

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

Last modified on March 31, 2016