Cleans up alt tag generation for covers

This commit is contained in:
Mouse Reeve
2020-05-03 16:22:33 -07:00
parent e9be06538f
commit 984cafb28e
5 changed files with 26 additions and 9 deletions

View File

@ -1 +1,2 @@
'{{ book.title }}' Cover ({% if book.physical_format %}{{ book.physical_format }}{% if book.published_date %}, {% endif %}{% endif %}{% if book.published_date %}{{ book.published_date.year }}{% endif %})
{% load fr_display %}
'{{ book.title }}' Cover ({{ book|edition_info }})