moviewyrm/fedireads/templates/book_results.html

22 lines
754 B
HTML
Raw Normal View History

2020-01-29 09:05:27 +00:00
{% extends 'layout.html' %}
{% block content %}
<div class="content-container">
<h2>Search results</h2>
{% for result_set in results %}
<section>
2020-05-03 20:12:42 +00:00
{% if not result_set.connector.local %}
<h3>
Results from <a href="{{ result_set.connector.base_url }}" target="_blank">{{ result_set.connector.name }}</a>
</h3>
{% endif %}
{% for result in result_set.results %}
2020-01-29 09:05:27 +00:00
<div>
2020-05-04 00:53:14 +00:00
<a href="/book/{% if not result_set.connector.local %}{{ result_set.connector.id }}:{{ result_set.connector.key_name}}:{% endif %}{{ result.key }}">{{ result.title }}</a> by {{ result.author }} ({{ result.year }})
2020-01-29 09:05:27 +00:00
</div>
{% endfor %}
</section>
{% endfor %}
2020-01-29 09:05:27 +00:00
</div>
{% endblock %}