diff options
Diffstat (limited to 'templates/archive.html')
-rw-r--r-- | templates/archive.html | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/templates/archive.html b/templates/archive.html index d3d8e0b..c0cc144 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,19 +1,17 @@ <!DOCTYPE html> <html lang=en> <meta charset=utf-8> -<link rel=stylesheet href=/static/archive.css> <link rel=icon href=/static/favicon.svg> +<link rel=stylesheet href=/static/archive.css> <title>{{.Title}}</title> -<style> -body { margin: 0 } -img { - display: block; - margin: auto; - max-width: 100%; -} -</style> - -<body>{{range .Entries}} -<img src="?entry={{.Index}}" alt="{{.Name}}">{{end}} +<body> + <nav> + <a id=prev href="{{.Prev}}">PREV</a> + <a id=up href=.>UP</a> + <a id=next href="{{.Next}}">NEXT</a> + </nav> + <main>{{range .Entries}} + <img src="?entry={{.Index}}" alt="{{.Name}}">{{end}} + </main> </body> </html> |