{% extends 'base.html' %} {% block main %}

All Books

{% with messages = get_flashed_messages() %} {% if messages %}
{% endif %} {% endwith %} {% for book in books|sort(attribute='title', reverse = False) %} {% endfor %}
{% endblock %}