{{ hit.title }}
{% if hit['type'] == 'directory' %}
{% endif %}
Mime type: {{ hit['mimetype'] }} Size: {{ hit['sizeformatted'] }}
{% if hit['description'] and not hit['description'] == '' %}
{% elif (hit.mimetype.startswith('text') or hit.mimetype in preview_mimetypes) and hit.size < preview_maxsize %}
{% else %}
{% endif %}
{{ hit['description'] }}
{% else %}No description available for this result
{% endif %} {% if hit.mimetype.startswith('image') %}