summaryrefslogtreecommitdiff
path: root/templates/archive.html
blob: 42eba08644161108ebaa06b8999b0555cc461f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
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}}