{% if breadcrumbs | length > 1: %}
folder../
{% endif %}
{% set files = contents.content | list %}
{% for content in files | sort(attribute="name") %}
{% if content.type == "directory" %}
folder{{ content.name }}
{% endif %}
{% endfor %}
{% for content in files | sort(attribute="name") %}
{% if content.type in ["notebook", "file"] %}
code{{ content.name }}
{% endif %}
{% endfor %}