diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 022ceaa..f7762a6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,20 +12,44 @@ {{ block "main" . }} + + {{ if .Site.Params.hero }} {{ partial "hero.html" . }} + {{ end }} + + {{ if .Site.Params.section1 }} {{ partial "section1.html" . }} + {{ end }} + + {{ if .Site.Params.section2 }} {{ partial "section2.html" . }} + {{ end }} + + {{ if .Site.Params.section3 }} {{ partial "section3.html" . }} + {{ end }} + + {{ if .Site.Params.section4 }} {{ partial "section4.html" . }} + {{ end }} + + {{ if .Site.Params.section5 }} {{ partial "section5.html" . }} + {{ end }} + + {{ if .Site.Params.footer }} {{ partial "footer.html" . }} + {{ end }}
+ {{ if .Site.Params.sidebar }} {{ partial "sidebar.html" . }} {{ end }} + + {{ end }} {{ partial "javascript.html" . }} - \ No newline at end of file + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4b3bf5b..71b9bd6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,10 +1,8 @@ -{{- $footer := .Site.Params.footer }} -{{- $logo := index $footer "logo" }} -{{- $productLinks := index $footer "product" }} -{{- $docLinks := index $footer "docs" }} -{{- $blogrollLinks:= index $footer "blogroll" }} -{{- $socialMedia := index $footer "socialmedia" }} -{{- $bulmaLogo := index $footer "bulmalogo" }} +{{- $footer := .Site.Params.footer }} +{{- $logo := index $footer "logo" }} +{{- $quickLinks := index $footer "quicklinks" }} +{{- $socialMedia := index $footer "socialmedia" }} +{{- $bulmaLogo := index $footer "bulmalogo" }}