{% extends "base.html" %}

{% block styles %}
    {{ super() }}
    <link rel="StyleSheet" href="/search.css" type="text/css" media="screen" />
{% endblock styles %}

{% block content %}

<ul id="results">
{% for result in results %}
<li>
    <h2><a href="{{ relative_root | safe }}{{ result.page.url }}">{{ result.page.full_name }}</a></h2>
    {% for line in result.matches %}
    <p>{{ line | safe }}</p>
    {% endfor %}
</li>
{% endfor %}
</ul>

{% endblock content %}
