From 26e4a96cfa635ee15ed86b65a516daf8379424ff Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Thu, 25 Oct 2018 09:53:34 -0400 Subject: Fix index content div (#33) --- layouts/index.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts') 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" . }} +
{{ 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 }} +
{{ partial "footer.html" . }} \ No newline at end of file -- cgit v1.2.3