Fixes data display on shelf

This commit is contained in:
Mouse Reeve 2020-03-09 17:55:15 -07:00
parent 6546c0d8be
commit 787aa4691d

View file

@ -36,13 +36,13 @@
<a href="/book/{{ book.openlibrary_key }}">{{ book.title }}</a>
</td>
<td>
{{ book.authors.first.data.name }}
{{ book.authors.first.name }}
</td>
<td>
{{ book.first_publish_date }}
{% if book.first_published_date %}{{ book.first_published_date }}{% endif %}
</td>
<td>
{{ book.added_date | naturalday }}
{{ book.created_date | naturalday }}
</td>
<td>
<a href="https://openlibrary.org{{ book.key }}" target="_blank">OpenLibrary</a>