2024-05-02 18:10:29 +02:00
|
|
|
{% extends "base" %}
|
2024-05-06 14:42:14 +02:00
|
|
|
{% block title %}
|
|
|
|
{% if has_previous %}
|
|
|
|
<a class="secondary" href="/books/{{ backward_cursor }}/DESC">← back</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if has_previous and has_more %}|{% endif%}
|
|
|
|
|
|
|
|
{% if has_more %}
|
|
|
|
<a class="secondary" href="/books/{{ forward_cursor }}/ASC">more →</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock title %}
|
|
|
|
|
2024-05-02 18:10:29 +02:00
|
|
|
{% block content %}
|
|
|
|
<div class="grid-container">
|
2024-05-06 10:40:34 +02:00
|
|
|
{% for book in books %}
|
2024-05-06 14:42:14 +02:00
|
|
|
{% include "book_card" %}
|
2024-05-06 10:40:34 +02:00
|
|
|
{% endfor %}
|
2024-05-02 18:10:29 +02:00
|
|
|
</div>
|
|
|
|
{% endblock content %}
|