blob: 4ba0a7946188e8b887e836cff75d311560efd408 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{{ define "main" }}
<main>
<div class="post">
{{ partial "single/title.html" . }}
{{ partial "single/header.html" . }}
<div class="post-archive">
{{ range (where (where .Site.Pages "IsPage" "=" true) "Params.hidden" "!=" true ).GroupByDate "2006" }}
<h2>{{ .Key }}</h2>
<ul class="listing">
{{ range .Pages }}
<li>
<span class="date">{{ .Date.Format "01/02" }}</span>
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
{{ partial "single/footer.html" . }}
</div>
</main>
{{ end }}
|