Fetching contributors…
Cannot retrieve contributors at this time
15 lines (8 sloc) 356 Bytes

Fetch the nth tail of a list.

Useful when you want to skip the first N 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.

.. seealso:: :ref:`filter-first`, :ref:`filter-tail`