{% extends 'layout.html' %}
{% block content %}
<div id="content">
<div>
<h1>Search results</h1>
{% for result in results %}
<a href="/book/{{ result.key }}">{{ result.title }}</a> by {{ result.author }} ({{ result.year }})
</div>
{% endfor %}
{% endblock %}