list.html (346B)
1 {{ define "main" }} 2 <h1>{{ .Page.Title }}</h1> 3 <ul> 4 {{ range .Paginator.Pages.ByDate }} 5 <li> 6 <time>{{ .Date.Format "2006-01-02" }}</time> 7 <a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> 8 </li> 9 {{ end }} 10 </ul> 11 {{ partial "pagination.html" . }} 12 {{ end }}