about summary refs log tree commit diff homepage
path: root/templates/archive.html
blob: fbd2f7a9133f2a039f8471ad0e0230ca1e2aefcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{template "base-head.html" -}}
<link rel=stylesheet href=/static/archive.css>
<title>{{.Title}}</title>
<body>
  <nav>{{if .Prev}}
    <a id=prev href="{{.Prev}}">PREV</a>{{else}}
    <a id=prev></a>{{end}}
    <a id=up href=.>UP</a>{{if .Next}}
    <a id=next href="{{.Next}}">NEXT</a>{{else}}
    <a id=next></a>{{end}}
  </nav>
  <main>{{range .Entries}}
    <img src="?entry={{.Index}}" alt="{{.Name}}">{{end}}
  </main>
</body>
</html>