mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-20 23:26:42 +00:00
Adds missing template snippet
This commit is contained in:
parent
afa2aff30a
commit
30d5846fa4
1 changed files with 2 additions and 0 deletions
2
bookwyrm/templates/snippets/search_result_text.html
Normal file
2
bookwyrm/templates/snippets/search_result_text.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<strong>{% if link %}<a href="{{ result.key }}">{{ result.title }}</a>{% else %}{{ result.title }}{% endif %}</strong>
|
||||||
|
{% if result.author %} by {{ result.author }}{% endif %}{% if result.year %} ({{ result.year }}){% endif %}
|
Loading…
Reference in a new issue