{% extends "elasticsearch/base.html" %}{% load humfrey_desc %}{% load humfrey_elasticsearch %}{% load humfrey_thumbnail %}{% load hosts %} {% block extra_head %}{{ block.super }} {% endblock %} {% block title %}Search{% endblock %} {% block content %}

Search

{% if hits %}

Your search returned {{ hits.total }} results in {{ took }}ms.

{% include "elasticsearch/pagination.html" %}
    {% for hit in hits.hits %}{% block hit %}
  1. {% if hit.source.image %} {% endif %} {{ hit.source.label|default:"unnamed" }} {% if hit.source.type.label %} {{ hit.source.type.label|capfirst }} {% endif %}
    {{ hit.source.uri }} {% if hit.source.description %}
    {{ hit.source.description|truncatewords:50 }} {% endif %}
  2. {% endblock %}{% endfor %}
{% include "elasticsearch/pagination.html" %} {% else %}

Enter a query to start searching.

{% endif %}
{% endblock %}