Adds generalized book data connectors

This commit is contained in:
Mouse Reeve
2020-03-07 12:22:28 -08:00
parent d501e707ee
commit 6f765bd6f4
11 changed files with 249 additions and 144 deletions

View File

@ -5,7 +5,7 @@
<h1>Search results</h1>
{% for result in results %}
<div>
<a href="/book/{{ result.olkey }}">{{ result.title }}</a> by {{ result.author }} ({{ result.year }})
<a href="/book/{{ result.key }}">{{ result.title }}</a> by {{ result.author }} ({{ result.year }})
</div>
{% endfor %}
</div>