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>…</p> {{- end}} <hr> </main> <footer> - <p>Generated by <a href="http://hssl.cs.jhu.edu/~neal/git2html">git2html</a> ›</p> + <p>Generated by <a href="https://github.com/thewhodidthis/gtx">gtx</a> ›</p> </footer> </body> </html>
home › develop › de3a4e2 › 95c8a88