{% load i18n %}{% comment %} Search results (help:search, also swapped into #help-results by htmx). Parameters: query, results. {% endcomment %} {% if query %}

{% blocktranslate count counter=results|length with query=query trimmed %}{{ counter }} result for “{{ query }}”{% plural %}{{ counter }} results for “{{ query }}”{% endblocktranslate %}

{% if results %}
    {% for result in results %}
  1. {{ result.title }} {{ result.context }}

    {{ result.excerpt }}

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

{% translate "Nothing found. Try a shorter word, or browse the guides and the list of help topics." %}

{% endif %} {% endif %}