summaryrefslogtreecommitdiff
path: root/layouts/blog/list.html
blob: d6ab02fdeae95c429dc0b1610ab3f7d091a27cdc (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
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
<title>{{ .Title }} | {{ .Site.Title }}</title>
</head>
<body>
{{ partial "navigation.html" . }}
<h1>{{ .Title }}</h1>
{{ .Content }}

{{ range .RegularPagesRecursive.GroupByPublishDate "2006" }}
<p>
{{ .Key }}:
  <ul>
  {{ range sort .Pages.ByPublishDate ".PublishDate" "desc" }}
    <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
  {{ end }}
  </ul>
</p>
{{ end }}

{{ partial "footer.html" . }}
</body>
</html>