mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-01 07:08:16 +00:00
9 lines
311 B
HTML
9 lines
311 B
HTML
{% load i18n %}
|
|
{% load bookwyrm_tags %}
|
|
{% if book.authors %}
|
|
{% blocktrans with path=book.local_path title=book|title %}<a href="{{ path }}">{{ title }}</a> by {% endblocktrans %}{% include 'snippets/authors.html' with book=book %}
|
|
{% else %}
|
|
<a href="{{ book.local_path }}">{{ book|title }}</a>
|
|
{% endif %}
|
|
|