Home »
Documentation »
Filters »
nthtail
Returns the nth tail of a list.
Useful when you want to skip the first couple of elements of a list when looping.
For example:
{% for a in value|nthtail:2 %}{{ a|format_number }}{% endfor %}When value is the list [1,2,3] then the output is “3”.
See also the filter tail.
This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.