{% extends 'base_theme.html' %} {% block content %}

Search

{{ form.as_p }}
 
{% if query %}

Results

{% for listing in page.object_list %} {% include 'includes/listing-box.html' %} {% empty %}

No results found.

{% endfor %} {% if page.has_previous or page.has_next %}
{% if page.has_previous %} {% endif %}« Previous {% if page.has_previous %}{% endif %} | {% if page.has_next %}{% endif %} Next »{% if page.has_next %}{% endif %}
{% endif %} {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %}
{% endblock %}