{% extends 'pages/index.html' %} {% block content %}

Search

{{ form.as_table }}
 
{% if query %}

Results

{% for result in page.object_list %}

{{ result.object.title }}

{% empty %}

No results found.

{% endfor %} {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %}
{% endblock %}