summary refs log tree commit diff homepage
path: root/templates/archive.html
blob: 619a5bcdb7e6fefb6207f13149b0a77dfb41eec8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{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>
{{template "base-foot.html" -}}