{% with cnt=books|length %}
{% autopaginate books 100 %}
{% for item in books %}
{% with item.book as book %}
{{ book.short_html|safe }}
{% if not book.single %}
{% for chunk in item.chunks %}
{{ chunk.short_html|safe }}
{% endfor %}
{% endif %}
{% endwith %}
{% endfor %}