{% extends "base.html" %}
{%- block main -%}
<ul>{% for ancestor in path %}{% if ancestor %}
<li><a href="{{ ancestor.link }}">{{ ancestor.name }}</a></li>
{% endif %}{% endfor %}</ul>
<ul>{% for dir in dirs %}
<li><a href="{{ dir }}/">{{ dir }}</a></li>
{% endfor %}</ul>
<ul>{% for file in files %}
<li><a href="/{{ input.index }}/={{ path|xURI }}{{ '/'|xURI }}{{ file|xURI }}">
{{ file }}
</a></li>
{% endfor %}</ul>
{%- endblock -%}