{% extends 'base.html' %} {% load icons highlight %} {% block page_header %}

Search

{% endblock page_header %} {% block form_content %} {% if query %}

Results

{% for result in page.object_list %}

{{ result.object }}

{% highlight result.text with query %} {% if not forloop.last %}
{% endif %} {% empty %}

No results found.

{% endfor %}
{% if page.has_previous or page.has_next %} {% endif %} {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %} {% endblock form_content %} {% block sidebar %}
{% include 'form.inc.html' %}
{% endblock sidebar %}