about summary refs log tree commit diff homepage
path: root/templates/archive.html
blob: ee5d2b372f62f53e4587c5fb7705af2e62669829 (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 | escape}}">PREV</a>{{else}}
    <a id=prev></a>{{end}}
    <a id=up href=.>UP</a>{{if .Next}}
    <a id=next href="{{.Next | escape}}">NEXT</a>{{else}}
    <a id=next></a>{{end}}
  </nav>
  <main>{{range .Entries}}
    <img src="?entry={{.Index}}" alt="{{.Name}}">{{end}}
  </main>
</body>
</html>