{% extends "simple/base.html" %} {% from 'simple/macros.html' import icon, icon_small %} {% macro engine_data_form(engine_data) -%} {% for engine_name, kv_data in engine_data.items() %} {% for k, v in kv_data.items() %} {% endfor %} {% endfor %} {%- endmacro %} {% block title %}{% if query_in_title %}{{- q|e -}} - {% endif %}{% endblock %} {% block meta %}{% endblock %} {% block content %} {% include 'simple/search.html' %} {% if results and results|map(attribute='template')|unique|list|count == 1 %} {% set only_template = 'only_template_' + results[0]['template']|default('default')|replace('.html', '') %} {% else %} {% set unique_template = '' %} {% endif %}