blob: c4aa7ee925a93252a5997eda5789ee7e750f0fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{{define "main"}}
{{- $year := .Year -}}
<h1>{{.Year}}</h1>
{{with .Months}}
<ul>
{{range .}}
<li><a href="{{archive_link $year .Num}}">{{month_text .Num}} {{$year}} [{{.Count}}]</a>
{{end}}
</ul>
{{else}}
<p>Nothing for this year.</p>
{{end}}
<p><a href="{{archive_link (add .Year -1)}}" rel="prev">< Previous</a> | <a href="{{archive_link (add .Year 1)}}" rel="next">Next ></a></p>
{{end}}
|