{% from 'macros/_misc.html' import render_pagination, render_author_table %} {% extends 'layouts/base_navsearch.html' %} {% set page_title = _('Project Gutenberg Index by Book Title') %} {% block body %} {% if pagination and pagination.pages > 0 %}
{% trans total=pagination.total %}{{ total }} pages of books by title.{% endtrans %}
{{ render_author_table(pagination.items, pagination.per_page * (pagination.page - 1), 'table table-striped table-hover') }} {{ render_pagination(pagination, endpoint_desc) }} {% else %}{% trans %}No books found. Perhaps the data needs to be updated.{% endtrans %}
{% endif %} {% endblock %}