libremiami-search/searx/templates/oscar/results.html

5.5 KiB

{% extends "oscar/base.html" %} {% block title %}{{ q }} - {% endblock %} {% block content %}

{{ _('Search results') }}

{% include 'oscar/search.html' %} {% if answers %} {% for answer in answers %}
{{ answer }}
{% endfor %} {% endif %} {% for result in results %}
{% set index = loop.index %} {% if result.template %} {% include get_result_template('oscar', result['template']) %} {% else %} {% include 'oscar/result_templates/default.html' %} {% endif %}
{% endfor %} {% if not results %} {% include 'oscar/messages/no_results.html' %} {% endif %}
{% if paging %}
{% for category in selected_categories %}{% endfor %} {{ _('previous page') }}
{% for category in selected_categories %}{% endfor %} {{ _('next page') }}
{% endif %}
{% if infoboxes %} {% for infobox in infoboxes %} {% include 'oscar/infobox.html' %} {% endfor %} {% endif %} {% if suggestions %}

{{ _('Suggestions') }}

{% for suggestion in suggestions %} {{ suggestion }} {% endfor %}
{% endif %}

{{ _('Links') }}

{% for output_type in ('csv', 'json', 'rss') %} {% for category in selected_categories %}{% endfor %} {{ output_type }} {% endfor %}
{% endblock %}