| 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 | {{- if .Partial}} |
| 15 | <p class="notice">This page ends early: its commits are larger than a page reads.</p> |
| 16 | {{- end}} |
| 17 | {{- if .Wide}} |
| 18 | <p class="notice">The older history runs along more lines at once than a page links. Each commit's history starts from its tree.</p> |
| 19 | {{- end}} |
| 20 | </div> |
| 21 | <nav class="pager" aria-label="Pages of history">{{with .Newest}}<a href="{{.}}">Newest</a>{{end}}{{with .Older}}<a href="{{.}}">Older</a>{{end}}</nav> |
| 22 | {{end}} |