{% extends "!genindex.html" %} {% block body %}

{{ _('Index') }}

{% for key, dummy in genindexentries -%} {{ key }} {% if not loop.last %}| {% endif %} {%- endfor %}
{%- for key, entries in genindexentries %}

{{ key }}

{%- for entryname, (links, subitems) in entries %}
{% if links %}{{ entryname|e }} {%- for link in links[1:] %}, [{{ loop.index }}]{% endfor %} {%- else %}{{ entryname|e }}{% endif %}
{%- if subitems %}
{%- for subentryname, subentrylinks in subitems %}
{{ subentryname|e }} {%- for link in subentrylinks[1:] %}, [{{ loop.index }}]{% endfor -%}
{%- endfor %}
{%- endif -%} {%- endfor %}
{% endfor %} {% endblock %}