diff options
| author | Joe Mou <dev@mou.fo> | 2026-01-26 13:27:28 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-01-26 13:37:11 -0500 |
| commit | db8127f488096663147f05404c79a1732b8b7527 (patch) | |
| tree | 253eee017fddecd51fe35e16f2227fdba5354011 /views/_tree.eta | |
| parent | 68a9fae02eafc7e0350d8c3b4b1660ecd8108678 (diff) | |
Append / to directories in tree listings
Diffstat (limited to 'views/_tree.eta')
| -rw-r--r-- | views/_tree.eta | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/_tree.eta b/views/_tree.eta index f287c03..d0c3453 100644 --- a/views/_tree.eta +++ b/views/_tree.eta @@ -4,7 +4,7 @@ <td> <% if (item.contentType === 'directory') { %> <img src="/static/icons/folder-simple.svg" alt="tree" class="icon"> - <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/tree/<%= it.branch %>/<%= item.path %>"><%= item.name %></a> + <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/tree/<%= it.branch %>/<%= item.path %>"><%= item.name %>/</a> <% } else { %> <img src="/static/icons/file.svg" alt="blob" class="icon"> <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/blob/<%= it.branch %>/<%= item.path %>"><%= item.name %></a> |
