aboutsummaryrefslogtreecommitdiff
path: root/views/layout.eta
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-01-28 22:41:00 -0500
committerJoe Mou <dev@mou.fo>2026-01-28 23:03:09 -0500
commit7416f8b40fd07031c56584bd089f910185d58f89 (patch)
tree7c9fd93dbe03ca69bcfebd9e82c31f9491a5a967 /views/layout.eta
parent8770424ae7a0affbb4b05903d355fe856f853797 (diff)
Commits list
Diffstat (limited to 'views/layout.eta')
-rw-r--r--views/layout.eta3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/layout.eta b/views/layout.eta
index f4535df..a404437 100644
--- a/views/layout.eta
+++ b/views/layout.eta
@@ -13,6 +13,9 @@ git clone git@github.com:<%= it.repo.owner %>/<%= it.repo.name %>.git</code></pr
<nav>
<a href="/<%= it.repo.owner %>/<%= it.repo.name %>">Code</a>
<a href="/<%= it.repo.owner %>/<%= it.repo.name %>/issues">Issues</a>
+ <% if (it.branch) { %>
+ <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/commits/<%= it.branch %><%= it.path && it.path !== '/' ? '/' + it.path : '' %>">Commits</a>
+ <% } %>
</nav>
</div>