summaryrefslogtreecommitdiff
path: root/templates/archive.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archive.html')
-rw-r--r--templates/archive.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/archive.html b/templates/archive.html
new file mode 100644
index 0000000..42eba08
--- /dev/null
+++ b/templates/archive.html
@@ -0,0 +1,12 @@
+{{define "main"}}
+<h1>Archive</h1>
+{{with .Years}}
+<ul>
+ {{range .}}
+ <li><a href="{{archive_link .Num}}">{{.Num}} [{{.Count}}]</a>
+ {{end}}
+</ul>
+{{else}}
+<p>Nothing yet :(</p>
+{{end}}
+{{end}}