From c262004043bf5772237fadaf83ab30a0518c22c5 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Fri, 16 May 2025 18:08:02 +1000 Subject: [PATCH] Fix display of symlinks in directory listing --- themed/tree_common.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/themed/tree_common.html b/themed/tree_common.html index dda53eb..51f7cd2 100644 --- a/themed/tree_common.html +++ b/themed/tree_common.html @@ -17,6 +17,9 @@ {% elif S_ISDIR(mode) %} {# Heroicons solid folder #} + {% elif S_ISLNK(mode) %} + {# Heroicons outline link #} + {% else %} {# Heroicons outline document #} @@ -38,7 +41,7 @@
{# File size #} - {% if !S_ISGITLINK(mode) && !S_ISDIR(mode) %} + {% if !S_ISGITLINK(mode) && !S_ISDIR(mode) && !S_ISLNK(mode) %} {{ size|%ld }} {% endif %}