filter_nthtail (zotonic_mod_base v1.0.0-rc.17)

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.

See also

first, tail

Summary

Functions

nthtail(In, N, Context)