cover folders beautified

This commit is contained in:
Ozzieisaacs
2019-02-03 20:29:16 +01:00
parent 6661be91ff
commit 6fc4b318e8
9 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
<div class="cover">
<a href="{{ url_for('show_book', book_id=entry.id) }}">
{% if entry.has_cover %}
<img src="{{ url_for('get_cover', cover_path=entry.path.replace('\\','/')) }}" />
<img src="{{ url_for('get_cover', book_id=entry.id) }}" />
{% else %}
<img src="{{ url_for('static', filename='generic_cover.jpg') }}" />
{% endif %}