forked from mirrors/bookwyrm
Update bookwyrm/templates/snippets/book_cover.html
Co-authored-by: Joachim <joachim.robert@protonmail.com>
This commit is contained in:
parent
7754b490fa
commit
2370f60436
1 changed files with 0 additions and 5 deletions
|
@ -110,12 +110,7 @@
|
|||
<img
|
||||
class="book-cover"
|
||||
itemprop="thumbnailUrl"
|
||||
{% if book.cover %}
|
||||
src="{% if img_path is None %}{% get_media_prefix %}{% else %}{{ img_path }}{% endif %}{{ book.cover }}"
|
||||
{% else %}
|
||||
src="{% static "images/no_cover.jpg" %}"
|
||||
alt="{% trans "No cover" %}"
|
||||
{% endif %}
|
||||
>
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue