diff --git a/layouts/index.html b/layouts/index.html index ba0730c..82f82c1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,15 +1,19 @@ {{ define "content" }} +{{ if eq .Paginator.PageNumber 1 }}
{{.Content}}
+{{ end }}
+ {{ if eq .Paginator.PageNumber 1 }} {{ if .Site.Params.homepageSectionTitle }}

{{ .Site.Params.homepageSectionTitle }}

{{ end }} + {{ end }} {{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.hidden" "!=" "true" )).Pages }} {{ if ne $index 0 }}