{% if hits %}
    {% for hit in hits %}
  1. {% if hit.link %}{{ hit.title }}{% else %}{{ hit.title }}{% endif %}

    {{ hit.repo }} · {{ hit.kind }}{% if hit.section %} · {{ hit.section }}{% endif %} · score {{ "%.3f" | format(hit.score) }}

    {% if not hit.link %}

    {{ hit.location }}

    {% endif %}

    {{ hit.text }}

  2. {% endfor %}
{% else %}

No matches.

{% endif %}