diff options
author | Prefetch | 2021-02-24 09:47:22 +0100 |
---|---|---|
committer | Prefetch | 2021-02-24 09:47:22 +0100 |
commit | b5608ab92a4f8a5140571acabf54e3c6bdebd0e4 (patch) | |
tree | 673b19fadbbaff9c1f765037896a1ba7d008a2b8 /layouts/blog/list.html |
Initial commit
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r-- | layouts/blog/list.html | 25 |
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> |