diff options
author | Angelo Stavrow <angelo@fogcreek.com> | 2018-08-14 16:20:29 +0300 |
---|---|---|
committer | Angelo Stavrow <angelo@fogcreek.com> | 2018-08-14 16:20:29 +0300 |
commit | 994fd986bab1cf0baa4c7cfde62929e5f2a0772e (patch) | |
tree | 5680b3d479307936138924385fa3fadae29cd4f1 /layouts/_default/list.html | |
parent | 40f121ec52d1edbfff39470dee7a0c3c9ac36061 (diff) |
Initial commit
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..9125770 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,8 @@ +{{ partial "header.html" . }} +<h2>{{ .Title }}</h2> +{{ range $index, $page := (.Paginate (where .Data.Pages "Type" "post")).Pages }} +{{ if ne $index 0 }} +{{ end }} +{{ .Render "li" }} +{{ end }} +{{ partial "footer.html" . }}
\ No newline at end of file |