{% extends "base.html" %} {% from "layout/icons.html" import icon %} {% from "macros.html" import kind_name %} {% block title %}{{ _("Search") }}{% endblock %} {% block content %}
{{ _("Search isn't available right now. The rest of the guide still works.") }}
{% elif query and not results %}{% trans query=query %}Nothing in the guide matches “{{ query }}”.{% endtrans %}
{% endif %} {% if results %}{% for text, matched in result.snippet %}{% if matched %}{{ text }}{% else %}{{ text }}{% endif %}{% endfor %}
{% endif %}