From bdd4756094e961f8951e4a1ddb6cd875c5b0026c Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Mon, 25 Aug 2025 00:12:59 +0200 Subject: g2h: Add tree page --- templates/tree.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/tree.md (limited to 'templates') 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 %} -- cgit v1.2.3