summaryrefslogtreecommitdiff
path: root/cgithub/views
diff options
context:
space:
mode:
Diffstat (limited to 'cgithub/views')
-rw-r--r--cgithub/views/_tree.eta2
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>