moviewyrm/bookwyrm/templates/snippets/search_result_text.html
2021-02-27 18:48:10 -08:00

3 lines
297 B
HTML

{% load i18n %}
<strong>{% if link %}<a href="{{ result.key }}">{{ result.title }}</a>{% else %}{{ result.title }}{% endif %}</strong>
{% if result.author %} {% blocktrans with author=result.author %}by {{ author }}{% endblocktrans %}{% endif %}{% if result.year %} ({{ result.year }}){% endif %}