gtx


Branch: develop

Author
thewhodidthis <thewhodidthis@fastmail.com>
Date
Jan. 24 '23 22:12:06
Commit
95c8a88cbdbdc9d239a28a5987f3b1e42070fb23
Parent
de3a4e24a2644944cfbc5ea61a72b4161e9b2c05
Changes
diff --git a/branch.html.tmpl b/branch.html.tmpl
index 896b2c2..1e064cb 100644
--- a/branch.html.tmpl
+++ b/branch.html.tmpl
@@ -2,27 +2,31 @@
 <html lang="en">
   <head>
     <meta charset="utf-8">
-    <title>{{.Title}}</title>
+    <title>{{.Name}}</title>
   </head>
   <body>
     <header>
-      <h1><a href="./">{{.Title}}</a></h1>
+      <h1><a href="./">{{.Name}}</a></h1>
     </header>
     <main>
       <hr>
-      {{- range $i, $info := .List}}
-      <dl>
-        <dt>{{.Name}}</dt>
-        <dd>{{.Remote}}</dd>
-        <dd>{{.Merge}}</dd>
-      </dl>
+      {{- with $list := .Commits}}
+      <ul>
+        {{- range $list}}
+        <li>
+          <a href="{{.Hash}}">{{.Subject}}</a>:
+          <span>{{.Author.Name}} <{{.Author.Email}}></span>
+          <time datetime="{{.Date.Format "2006-01-02"}}">{{.Date.Format "Jan. 02 '06 15:04:05"}}</time>
+        </li>
+        {{- end}}
+      </ul>
       {{- else}}
       <p>&hellip;</p>
       {{- end}}
       <hr>
     </main>
     <footer>
-      <p>Generated by <a href="http://hssl.cs.jhu.edu/~neal/git2html">git2html</a> &rsaquo;</p>
+      <p>Generated by <a href="https://github.com/thewhodidthis/gtx">gtx</a> &rsaquo;</p>
     </footer>
   </body>
 </html>