{% extends "base.html" %} {% block title %}{{ t("search.title") }} · {{ site.title }}{% endblock %} {% block content %} {{ t("search.title") }} {% if query and not too_long %}{{ t("search.for", query=query) }}{% endif %} {% if too_long %} {{ t("search.too_long", max_length=max_length, max_terms=max_terms) }} {% elif not query %} {{ t("search.prompt") }} {% elif not groups %} {{ t("search.empty", query=query) }} {% else %} {% for group in groups %} {{ group.label }} {% if group.more %}{{ t("search.see_all") }}{% else %}{{ t("search.open_list") }}{% endif %} → {% for result in group.results %} {{ result.label }} {% endfor %} {% endfor %} {% endif %} {% endblock %}
{{ t("search.too_long", max_length=max_length, max_terms=max_terms) }}
{{ t("search.prompt") }}
{{ t("search.empty", query=query) }}