diff --git a/layouts/index.html b/layouts/index.html index 8739a38..2334581 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,14 +1,19 @@ {{ define "content" }} -
+
{{.Content}}
- -{{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.hidden" "!=" "true" )).Pages }} -{{ if ne $index 0 }} -{{ end }} -{{ .Render "summary" }} -{{ end }} +
+ {{ if .Site.Params.homepageSectionTitle }} +

{{ .Site.Params.homepageSectionTitle }}

+ {{ end }} + + {{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.hidden" "!=" "true" )).Pages }} + {{ if ne $index 0 }} + {{ end }} + {{ .Render "summary" }} + {{ end }} +
{{ end }} {{ define "content-footer" }} {{ partial "paginator.html" .Paginator }}