Uses same alt text generation for books with no cover

This commit is contained in:
Mouse Reeve 2021-03-07 07:42:02 -08:00
parent e5bdb4b9d1
commit b895059f03

View file

@ -6,8 +6,7 @@
<div class="no-cover book-cover">
<img class="book-cover" src="/static/images/no_cover.jpg" alt="No cover">
<div>
<p>{{ book.title }}</p>
<p>({{ book.edition_info }})</p>
<p>{{ book.alt_text }}</p>
</div>
</div>
{% endif %}