16 lines
483 B
HTML
16 lines
483 B
HTML
|
{{ define "content" }}
|
||
|
<div class="post-warp archive">
|
||
|
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
|
||
|
<h3>{{ .Key }}</h3>
|
||
|
|
||
|
{{ range .Pages }}
|
||
|
<article class="archive-item">
|
||
|
<a href="{{ .RelPermalink }}" class="archive-item-link">{{ .Title }}</a>
|
||
|
<span class="archive-item-date">
|
||
|
{{ .Date.Format "January 2, 2006" }}
|
||
|
</span>
|
||
|
</article>
|
||
|
{{ end }} {{ end }}
|
||
|
{{ partial "paginator.html" . }}
|
||
|
</div>
|
||
|
{{end }}
|