{% set paths_length = paths | length %}

{{ dirs | length }} directories {{ files | length }} files
{% for dir in dirs %} {% endfor %} {% for file in files %} {% endfor %}
Name Size Modified
Go up - -
{{ dir.name }} - {{ dir.modified }}
{{ file.name }} {{ file.size | filesizeformat | replace(from="KB", to="KiB") | replace(from="MB", to="MiB") | replace(from="GB", to="GiB") | replace(from="TB", to="TiB") | replace(from="PB", to="PiB") | replace(from="EB", to="EiB") | replace(from="ZB", to="ZiB") | replace(from="YB", to="YiB") }} {{ file.modified }}