Adds separate view and load links for book search results

This commit is contained in:
Mouse Reeve
2021-04-06 12:17:58 -07:00
parent d482c66ad4
commit fba44206ac
4 changed files with 9 additions and 5 deletions

View File

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