Show search result context for inventaire results

This commit is contained in:
Mouse Reeve
2021-04-29 11:22:09 -07:00
parent d1b788b61f
commit 095b60bff1
2 changed files with 8 additions and 1 deletions

View File

@ -18,8 +18,13 @@
<strong>
<a href="{{ result.view_link|default:result.key }}"{% if remote_result %} rel=”noopener” target="_blank"{% endif %}>{{ result.title }}</a>
</strong>
</p>
<p>
{% if result.author %}
{% blocktrans with author=result.author %}by {{ author }}{% endblocktrans %}{% endif %}{% if result.year %} ({{ result.year }})
{{ result.author }}
{% endif %}
{% if result.year %}
({{ result.year }})
{% endif %}
</p>