{% extends 'base.html' %} {% load highlight cms_search_tags i18n %} {% block content %}

Search

{% if query %}

Results

{% for result in page.object_list %}

{{ result.title }}

{{ result.url }}

{% highlight result.text with request.GET.q css_class "label label-warning" max_length 200 %}

http://{{ SITE_DOMAIN }}{% get_translated_value result "url" %}

{% 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 %}