{# vim: set et ts=8 sts=4 sw=4 ai: #} {% extends "wiki.html" %} {% block content %}

Search

{#
Hint: Avoid abbreviations. Try to limit your name to three simple words or fewer.
#}
{#
#}
{# card #}
{# w-600 container #} {# #} {% if result %}

Search matched {{keys | length}} page{%if keys | length >1%}s{%endif%}:

{% for key in keys %}

{{key[4]|safe}} {%- if key[0] == key[1] == 1 %} (Name matches) {% elif key[0] == 1 %} (Name and {{key[1] - 1}} match{%if key[1] -1 != 1%}es{%endif%} found)

{% else %} ({{key[1]}} match{%if key[1]!=1%}es{%endif%} found) {% endif -%} {% for match in result[key] %} {%- if match -%}

{{match|safe}}

{%- endif -%} {%- endfor -%} {% endfor %} {% else %}

No match found.

{% endif %} {% endblock %}