{{ title }}: "{{ query }}"

{%- macro search_results_section(results, title, has_more) -%}
{% if title %}

{{ title }}

{% endif %} {% for d in results %}
{{ d.title }}

{{ d.preview }}

{% endfor %} {% if has_more %} {% endif %}
{%- endmacro %}
{% if results %}
{{ search_results_section(results, "", has_more) }}
{% elif results_sections %}
{% for section in results_sections %} {{ search_results_section(section.results, section.title) }} {% endfor %}
{% elif query %}

{{ _("No matching records. Search something new") }} {% else %}

{{ _("Type something in the search box to search") }} {% endif %}