| 1 | {{define "content"}} |
| 2 | <header class="knot-head"> |
| 3 | <div class="meta"><span class="eyebrow">History</span><span class="mono">{{.Short}}</span>{{if .AtTip}}<span class="chip">main's published tip</span>{{end}}</div> |
| 4 | <h1>History of {{.Project}}</h1> |
| 5 | </header> |
| 6 | <div class="card"> |
| 7 | <table class="listing"> |
| 8 | <tbody> |
| 9 | {{- range .Commits}} |
| 10 | <tr><td class="name"><a href="{{.URL}}">{{.Short}}</a></td><td>{{.Subject}}</td><td class="kind">{{.Author}}</td><td class="kind">{{.Date}}</td></tr> |
| 11 | {{- end}} |
| 12 | </tbody> |
| 13 | </table> |
| 14 | </div> |
| 15 | <nav class="pager" aria-label="Pages of history">{{with .Newer}}<a href="{{.}}">Newer</a>{{end}}{{with .Older}}<a href="{{.}}">Older</a>{{end}}</nav> |
| 16 | {{end}} |