Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <angelo@fogcreek.com>2018-08-14 16:20:29 +0300
committerAngelo Stavrow <angelo@fogcreek.com>2018-08-14 16:20:29 +0300
commit994fd986bab1cf0baa4c7cfde62929e5f2a0772e (patch)
tree5680b3d479307936138924385fa3fadae29cd4f1 /layouts/_default/list.html
parent40f121ec52d1edbfff39470dee7a0c3c9ac36061 (diff)
Initial commit
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html8
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