summaryrefslogtreecommitdiff
path: root/layouts/blog/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r--layouts/blog/list.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
new file mode 100644
index 0000000..1bc9c3e
--- /dev/null
+++ b/layouts/blog/list.html
@@ -0,0 +1,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 .Pages.ByPublishDate }}
+ <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+ {{ end }}
+ </ul>
+</p>
+{{ end }}
+
+{{ partial "footer.html" . }}
+</body>
+</html>