gtx


Branch: develop

Author
thewhodidthis <thewhodidthis@fastmail.com>
Date
Nov. 27 '22 08:08:47
Commit
4a21a104eddb75c039150ab1bd2fa0198dece065
Parent
7e82b073bb00530d342910823bdaa867f5e5551d
Changes
diff --git a/diff.html.tmpl b/diff.html.tmpl
new file mode 100644
index 0000000..3c8151e
--- /dev/null
+++ b/diff.html.tmpl
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>{{.Title}}</title>
+  </head>
+  <body>
+    <header>
+      <h1><a href="./">{{.Title}}</a></h1>
+    </header>
+    <main>
+      <hr>
+      {{- range $i, $info := .List}}
+      <dl>
+        <dt>
+          <a href="mailto:{{.Committer.Email}}">{{.Committer.Name}}</a>
+        </dt>
+        <dd>{{.Committer.When.Format "Jan. 02 '06 15:04:05"}}</dd>
+        <dd><pre>{{.Message}}</pre></dd>
+      </dl>
+      {{- else}}
+      <p>&hellip;</p>
+      {{- end}}
+      <hr>
+    </main>
+    <footer>
+      <p>Generated by <a href="http://hssl.cs.jhu.edu/~neal/git2html">git2html</a> &rsaquo;</p>
+    </footer>
+  </body>
+</html>