From 94fcda59a064b5e8952d1bccb6b9a153c39acda1 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Wed, 28 Jan 2026 22:41:00 -0500 Subject: Commits list --- cgithub/views/commits.eta | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 cgithub/views/commits.eta (limited to 'cgithub/views/commits.eta') diff --git a/cgithub/views/commits.eta b/cgithub/views/commits.eta new file mode 100644 index 0000000..2ddcba3 --- /dev/null +++ b/cgithub/views/commits.eta @@ -0,0 +1,25 @@ +<% layout("./layout.eta") %> + +<%~ include("./_nav.eta", {...it, isTree: false}) %> + +<% 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) %> +
+
+ <% } %> +<% } %> -- cgit v1.3.1