blob: 4cf7dd1a32872149cea63c7abb434827ae73967a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{ partial "header.html" . }}
{{if not .IsHome }}
<h1>{{ .Title | markdownify }}</h1>
{{ end }}
{{ .Content }}
{{ $pages := .Pages }}
{{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
{{ range $pages.GroupByDate "2006" }}
<h2 class="post-year">{{ .Key }}</h2>
<table class="post-list">
{{ range .Pages }}
{{ partial "post-element.html" . }}
{{ end }}
</table>
{{ end }}
{{ partial "footer.html" . }}
|