{% autopaginate books 100 as books_page %}
{% for item in books_page %}
{% with book=item.book chunk=item.chunks.0 %}
{% include 'documents/book_list/book.html' %}
{% if not book.single %}
{% for chunk in item.chunks %}
{% include 'documents/book_list/chunk.html' %}
{% endfor %}
{% endif %}
{% endwith %}
{% endfor %}
{% paginate %}
{% blocktrans count c=books|length %}{{c}} book{% plural %}{{c}} books{% endblocktrans %}
{% if not books %}