diff --git a/layouts/index.html b/layouts/index.html index 9f3daa3..86f1c90 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,36 +1,46 @@ {{ define "main" }} -{{ $headless := .Site.GetPage "/homepage" }} -{{ $sections := $headless.Resources.ByType "page" }} - - - - - {{ with .Params.header_headline }}{{ . }}{{ end }} - {{ with .Params.header_subheadline }}{{ . }}{{ end }} - - {{ range where $sections ".Params.header_menu" "eq" true }} - {{ .Title }} - {{ end }} - - - - - - - - - {{ range $index_val, $elem_val := $sections }} - - - - {{ .Title }} - - - {{ .Content }} - - - - + {{ $headless := .Site.GetPage "/homepage" }} + {{ $sections := $headless.Resources.ByType "page" }} + + > + + + {{ with .Params.header_headline }} + {{ . }}{{ end }} + + {{ with .Params.header_subheadline }} + {{ . }}{{ end }} + + + {{ range where $sections ".Params.header_menu" "eq" true }} + {{ .Title }} + {{ end }} + + + + + + + {{ range $index_val, $elem_val := $sections }} + + + + {{ .Title }} + + + {{ .Content }} + + + + + {{ end }} + {{ end }}