summaryrefslogtreecommitdiffstats
path: root/templates/tree.md
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tree.md')
-rw-r--r--templates/tree.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/tree.md b/templates/tree.md
new file mode 100644
index 0000000..654c9d0
--- /dev/null
+++ b/templates/tree.md
@@ -0,0 +1,10 @@
+{% include '_head.md' %}
+
+{% if entries %}
+| Name | Last modified |
+|------|---------------|
+{%- for entry in entries %}
+| {{ entry.name }} | {% if entry.modified %} {{ entry.modified.strftime('%Y-%m-%d %H:%M:%S') }} {% endif %} |{% endfor %}
+{% else %}
+No files.
+{% endif %}