Added users so that the site can only be used if logged in. Thumbnails for each comic are also generated with ImageMagick.
13 lines
465 B
HTML
13 lines
465 B
HTML
{% for comic in comics %}
|
|
<div class="col-3" style="padding: 10px">
|
|
<a href="/comics/{{ comic["publisher"]|urlencode }}?series={{ comic["series"]|urlencode }}&seriesYear={{ comic["seriesYear"] }}">
|
|
<div class="card">
|
|
<img class="card-img" src="/comics/get_comic/{{ comic['id'] }}/0/thumbnail">
|
|
<div class="card-body">
|
|
{{ comic["series"] }} {{ comic["seriesYear"] }}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|