mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-07-02 03:35:51 +00:00
Adds missing template snippet
This commit is contained in:
parent
afa2aff30a
commit
30d5846fa4
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