<% layout("/layouts/repo.eta") %> <%~ include("./_nav.eta", {...it, view: "commits"}) %> <% const pathSuffix = it.path && it.path !== "/" ? "/" + it.path : "" %> <% if (it.commitGroups.length === 0) { %>
No commits found.
<% } %> <% for (const group of it.commitGroups) { %>

<%= group.title %>

<% for (const commit of group.commits) { %>
<%= commit.shortMessage %>
by <% for (const author of commit.authors) { %> <%= author.login %> <% } %>
<%= commit.oid.substring(0, 7) %> <% /* Like GitHub, blindly link to blob and redirect for trees */ %> Browse
<% } %> <% } %>