moviewyrm/bookwyrm/templates/snippets/book_titleby.html

5 lines
142 B
HTML

<a href="/book/{{ book.id }}">{{ book.title }}</a>
{% if book.authors %}
by {% include 'snippets/authors.html' with book=book %}
{% endif %}