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 | 6484840a5412de4b003f9007eadf3e120dae5f3c (patch) | |
| tree | cf32ea71a8a6acfbc2c6ac57cf61c70978663be9 /cgithub | |
| parent | 51558d04a5ca53b2d2b6f088d1220167ee480b39 (diff) | |
Append / to directories in tree listings
Diffstat (limited to 'cgithub')
| -rw-r--r-- | cgithub/views/_tree.eta | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgithub/views/_tree.eta b/cgithub/views/_tree.eta index f287c03..d0c3453 100644 --- a/cgithub/views/_tree.eta +++ b/cgithub/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> |
