Modifier: offset
Offsets the items returned in an array.
YAML
playlist:
- Emancipator
- Gong Gong
- Possom Posse
- Justin Bieber
Use with the pipe syntax to continue chaining in a single tag like so:
Template
{{ playlist | offset:1 | join }}
Output
Gong Gong, Possom Posse, Justin Bieber
Or using the parameter syntax:
Template
{{ playlist offset="1" }}
<li>{{ value }}</li>
{{ /playlist }}
Output
<li>Gong Gong</li>
<li>Possom Posse</li>
<li>Justin Bieber</li>
Additional Reading
Learn how to use and chain modifiers in the Antlers template guide.