{% extends 'noel/base.html' %} {% load highlight %} {% load markup %} {% block extra_head %} {% endblock %} {% block content %}
{% if query %}

YOUR RESULTS:

{% for result in page.object_list %}

{{ result.object.title }}
{{ result.text|truncatewords:60|markdown|safe }}

{% empty %}

No results found.

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