Viewing:
{% let wrapper_class -%}
{% if is_dir -%}
{% let wrapper_class = "folder" -%}
{% else -%}
{% let wrapper_class = "file" -%}
{% endif -%}
<div class="{{ wrapper_class }}">
<div class="entry">
<span><a href="{{view_link}}">{{name}}</a></span>
<span class="updated">{{last_touched}}</span>
</div>
{% if children.len() > 0 %}
{% for child in children.clone() %}
{{child.render().unwrap()|safe}}
{% endfor %}
{% endif %}
</div>