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 <contact@angelostavrow.com>2018-10-25 16:53:34 +0300
committerAngelo Stavrow <contact@angelostavrow.com>2018-10-25 16:53:34 +0300
commit26e4a96cfa635ee15ed86b65a516daf8379424ff (patch)
treed70a211818c213cfc89dfa439e5207a21c89f0b9 /layouts
parent502364ef88b1bdfc9b87c2f3b6b8cce83fd117c9 (diff)
Fix index content div (#33)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index dbbbb8b..c39fbb5 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,12 +2,14 @@
{{ partial "header.html" . }}
<!-- Content goes here -->
+<div id="content">
{{ range $index, $page := (.Paginate (where (where .Data.Pages "Type" "post") ".Params.hidden" "!=" "true" )).Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "li" }}
{{ end }}
{{ partial "pagination.html" .Paginator }}
+</div>
<!-- Include the site info and footer -->
{{ partial "footer.html" . }} \ No newline at end of file