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
@@ -9,7 +9,7 @@
<div class="cover">
{% if entry.has_cover is defined %}
<a href="{{ url_for('show_book', book_id=entry.id) }}" data-toggle="modal" data-target="#bookDetailsModal" data-remote="false">
<img src="{{ url_for('get_cover', cover_path=entry.path.replace('\\','/')) }}" alt="{{ entry.title }}" />
<img src="{{ url_for('get_cover', book_id=entry.id) }}" alt="{{ entry.title }}" />
</a>
{% endif %}
</div>