{% extends 'layout.html' %} {% block js %} {% endblock %} {% block body %}

Index of / {%- set parts = path.split('/') -%} {%- for dir in parts if dir -%} {{ dir }}/ {%- endfor -%}

{% for file in index %} {% if file['dir'] %} {% else %} {% endif %} {% endfor %}
Name Created
{{ file['name'][path|length:] }}{{ file['name'][path|length:] }} {{ file['ctime']|datetime }}
{% endblock %}