{% extends "base.html" %} {% block head %} {% endblock %} {% block body %} {% if breadcrumbs|length > 1: %} folder.. {% endif %} {% for content in contents.content %} {% if content.type == 'notebook' %} book{{content.name}} {% endif %} {% if content.type == 'directory' %} folder{{content.name}} {% endif %} {% endfor %} {% endblock %}