1
0
Fork 0

Don't render empty html about books

This commit is contained in:
Mouse Reeve 2021-10-01 10:08:56 -07:00
parent 0928fd03a6
commit 428d87a351
2 changed files with 47 additions and 45 deletions

View file

@ -1,6 +1,7 @@
{% spaceless %}
{% load i18n %}
{% if book.isbn13 or book.oclc_number or book.asin %}
<dl>
{% if book.isbn_13 %}
<div class="is-flex">
@ -23,4 +24,5 @@
</div>
{% endif %}
</dl>
{% endif %}
{% endspaceless %}