about summary refs log tree commit diff homepage
path: root/templates/archive-head.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archive-head.html')
-rw-r--r--templates/archive-head.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/archive-head.html b/templates/archive-head.html
new file mode 100644
index 0000000..ed643e3
--- /dev/null
+++ b/templates/archive-head.html
@@ -0,0 +1,12 @@
+{{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>