{% for item in items %} {% partial __SELF__ ~ '::item' item=item %} {% endfor %}
{% if __SELF__.paginate %}
{{ items | raw }}
{% endif %}