First iteration bookshelf

This commit is contained in:
2023-04-23 14:17:06 -05:00
parent b82d00fa3a
commit 02dc26d54b
14 changed files with 98 additions and 2 deletions

22
src/templates/books.html Normal file
View File

@@ -0,0 +1,22 @@
{% block content %}
<div class="foreground">
<h2>These are my books lol</h2>
<h3>
This page is under construction but I felt like at least publishing a list
of books even if they didn't have reviews on them yet
</h3>
{% for i in var.books.books %}
<div id="'{{i}}'" class="bookReview">
<h4>{{i}}</h4>
<div>
<img
class="bookcover"
alt="{{i}} cover"
src="{{ url_for('static', filename=('photos/books/' + var.books.books[i].filename))}}"
/>
<p>{{ var.books.books[i].review }}</p>
</div>
</div>
{% endfor %}
</div>
{% endblock %}