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-10-23 00:12:57 +0300
committerAngelo Stavrow <angelo@fogcreek.com>2018-10-23 00:12:57 +0300
commit03eeaf97a40e800d360085de2043a62e11013b07 (patch)
tree29c6ef918300041055ba073045c309bacce2d100 /layouts/_default/list.html
parent5ac37add5b943b3f955b14b6309ccb81bb209b3e (diff)
Fixes broken </div> in 404.html (closes #21)
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 9125770..0f1abe2 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,8 +1,10 @@
{{ partial "header.html" . }}
<h2>{{ .Title }}</h2>
+<div id="content">
{{ range $index, $page := (.Paginate (where .Data.Pages "Type" "post")).Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "li" }}
{{ end }}
+</div>
{{ partial "footer.html" . }} \ No newline at end of file