gunk-dev/the-valley

log.tmpl

sourcea7ab0ac9051amain's published tip history
823 bytes
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</div>
18<nav class="pager" aria-label="Pages of history">{{with .Newer}}<a href="{{.}}">Newer</a>{{end}}{{with .Older}}<a href="{{.}}">Older</a>{{end}}</nav>
19{{end}}