{% extends "base.html" %} {% macro result(hit) -%}
{{ hit.vault }}{{ hit.title | highlight(q) }}{% if hit.coverage < hit.term_count %}{{ hit.coverage }} of {{ hit.term_count }} terms{% endif %}
{%- endmacro %} {% block content %}

Search

{% for name, reason in skipped %}

Skipped vault {{ name }}: {{ reason }}

{% endfor %} {% if out %} {% if out.total == 0 %}

No results found.

{% else %} {% if out.all_total == 0 %}

No page matches every term

{% elif out.all_total == 1 %}

1 page matches every term

{% else %}

{{ out.all_total }} pages match every term

{% endif %} {% for hit in out.all %} {{ result(hit) }} {% endfor %} {% if out.partial %}

Partial matches

{% for hit in out.partial %} {{ result(hit) }} {% endfor %} {% endif %} {% if out.truncated %}

Showing {{ out.shown }} of {{ out.total }} matches - narrow your query or search fewer vaults.

{% endif %} {% endif %} {% endif %}
{% endblock %}