diff --git a/layouts/index.html b/layouts/index.html
index 4d0a585..9afd9a3 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -48,6 +48,25 @@
{{end}}
{{ end }}
{{ end }}
+ {{ else if .Site.Data.sections }}
+ {{ $background:= "bg-white"}}
+ {{ range sort .Site.Data.sections "section.weight" }}
+ {{ if .section.enable }}
+
+ {{ if .section.template }}
+ {{- partial .section.template . -}}
+ {{ else }}
+ {{- partial (printf "sections/%s.html" (replace (lower .section.name) " " "-")) . -}}
+ {{ end }}
+
+
+ {{ if eq $background "bg-white" }}
+ {{ $background = "bg-dimmed" }}
+ {{ else }}
+ {{ $background = "bg-white" }}
+ {{end}}
+ {{ end }}
+ {{ end }}
{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 1b857f3..1745f6f 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -13,6 +13,16 @@
{{ end }}
{{- end }}
+ {{ else if .Site.Data.sections }}
+
+ {{- range sort .Site.Data.sections "section.weight" }}
+ {{ if and (.section.enable) (.section.showOnNavbar)}}
+ -
+ {{ .section.name }}
+
+ {{ end }}
+ {{- end }}
+
{{ end }}
diff --git a/layouts/partials/navigators/navbar.html b/layouts/partials/navigators/navbar.html
index d72fc74..1b89c2a 100644
--- a/layouts/partials/navigators/navbar.html
+++ b/layouts/partials/navigators/navbar.html
@@ -8,7 +8,7 @@
{{ if .Site.Params.logo.inverted }}
{{ $invertedLogo = .Site.Params.logo.inverted }}
{{ end }}
-
+
{{- .Site.Title -}}
@@ -35,6 +35,14 @@
{{ end }}
{{- end }}
+ {{ else if .Site.Data.sections }}
+ {{ range sort .Site.Data.sections "section.weight" }}
+ {{ if and (.section.enable) (.section.showOnNavbar)}}
+
+ {{ .section.name }}
+
+ {{ end }}
+ {{- end }}
{{- end }}
{{ $hasCustomMenus:= false }}
{{ if and site.Params.customMenus }}