little-hesinde/cops-web/templates/recents.html

14 lines
409 B
HTML
Raw Normal View History

2024-05-02 16:10:29 +00:00
{% 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 %}