diff --git a/src/pages/main/books/book.html b/src/pages/main/books/book.html index fdfc2618..0a57048f 100644 --- a/src/pages/main/books/book.html +++ b/src/pages/main/books/book.html @@ -35,8 +35,8 @@ schema: book <div class="book-meta"> <p class="title"><strong>{{ book.title }}</strong></p> {% if book.rating %}<p>{{ book.rating }}</p>{% endif %} - {% if book.authors or book.categories %} - <p class="sub-meta">{% if book.authors %}By {{ book.authors }}{% endif %}{% if book.categories %}{% if book.authors %} • {% endif %}{{ book.categories }}{% endif %}</p> + {% if book.author %} + <p class="sub-meta">By {{ book.author }}</p> {% endif %} {% if book.status == 'finished' %}<p class="sub-meta">Finished on: {{ book.date | date: "%B %e, %Y" }}</p>{% endif %} <p class="sub-meta"><a href="https://openlibrary.org/isbn/{{ book.isbn }}" title="View {{ book.title | escape }} on Open Library">View on Open Library</a></p> diff --git a/src/pages/main/books/index.html b/src/pages/main/books/index.html index de667289..53a5c81a 100644 --- a/src/pages/main/books/index.html +++ b/src/pages/main/books/index.html @@ -41,8 +41,8 @@ schema: books <a href="{{ book.url }}"> <p class="title"><strong>{{ book.title }}</strong></p> </a> - {% if book.authors or book.categories %} - <p class="sub-meta">{% if book.authors %}By {{ book.authors }}{% endif %}{% if book.categories %}{% if book.authors %} • {% endif %}{{ book.categories }}{% endif %}</p> + {% if book.author %} + <p class="sub-meta">By {{ book.author }}</p> {% endif %} {% if book.description %}<blockquote class="description">{{ book.description }}</blockquote>{% endif %} </div>