diff options
author | Angelo Stavrow <contact@angelostavrow.com> | 2018-10-25 16:53:34 +0300 |
---|---|---|
committer | Angelo Stavrow <contact@angelostavrow.com> | 2018-10-25 16:53:34 +0300 |
commit | 26e4a96cfa635ee15ed86b65a516daf8379424ff (patch) | |
tree | d70a211818c213cfc89dfa439e5207a21c89f0b9 | |
parent | 502364ef88b1bdfc9b87c2f3b6b8cce83fd117c9 (diff) |
Fix index content div (#33)
-rw-r--r-- | layouts/index.html | 2 |
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 |