basic recents view

This commit is contained in:
Sebastian Hugentobler 2024-05-02 18:10:29 +02:00
parent 65e17fc55b
commit 687c33829f
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
20 changed files with 2156 additions and 20 deletions

View file

@ -0,0 +1,13 @@
{% extends "base" %}
{% block content %}
<h1>Recent Books</h1>
<div class="grid-container">
{% for book in books %}
<article class="book-card grid-item">
<header>{{ book.title }}</header>
<img class="cover" src="/cover/{{ book.id }}" alt="book cover">
<!-- <footer>{{ book.title }}</footer> -->
</article>
{% endfor %}
</div>
{% endblock content %}