diff --git a/fedireads/templates/snippets/shelf.html b/fedireads/templates/snippets/shelf.html index 18794d0e..8f51342b 100644 --- a/fedireads/templates/snippets/shelf.html +++ b/fedireads/templates/snippets/shelf.html @@ -36,13 +36,13 @@ {{ book.title }} - {{ book.authors.first.data.name }} + {{ book.authors.first.name }} - {{ book.first_publish_date }} + {% if book.first_published_date %}{{ book.first_published_date }}{% endif %} - {{ book.added_date | naturalday }} + {{ book.created_date | naturalday }} OpenLibrary