From 9b0ee130c7408e839ceaa0de97a12c9da35e216f Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sat, 30 Aug 2025 19:33:04 +0200 Subject: g2h: Link subdir names in tree page Files are also clickable already but no file page yet --- templates/tree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/tree.md b/templates/tree.md index 654c9d0..7a891ab 100644 --- a/templates/tree.md +++ b/templates/tree.md @@ -4,7 +4,7 @@ | Name | Last modified | |------|---------------| {%- for entry in entries %} -| {{ entry.name }} | {% if entry.modified %} {{ entry.modified.strftime('%Y-%m-%d %H:%M:%S') }} {% endif %} |{% endfor %} +| [{{ entry.name }}](/{{ subdir }}/{{ entry.name}}) | {% if entry.modified %} {{ entry.modified.strftime('%Y-%m-%d %H:%M:%S') }} {% endif %} |{% endfor %} {% else %} No files. {% endif %} -- cgit v1.2.3