From 73bc625f1044f32426e00d3f6f9af967283664f7 Mon Sep 17 00:00:00 2001 From: MJacred Date: Mon, 6 Feb 2023 21:27:19 +0100 Subject: [PATCH] Allow toggling footer style between columns and left-aligned plus set baseURL to localhost:1313 --- exampleSite/config.yaml | 4 +++- layouts/partials/footer.html | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index f1617fdf..fda480b5 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,7 +1,7 @@ # ------------------------------------------ # Website Settings # ------------------------------------------ -baseURL: http://something-invigorating.org/ +baseURL: http://127.0.0.1:1313 languageCode: en-us # Disables warnings disableKinds: @@ -126,6 +126,7 @@ languages: # Footer # ------------------------------------------ footer: + useColumns: false # Logo (from /images/logos/___) logo: fresh-white-alt.svg # Social Media Title @@ -270,6 +271,7 @@ languages: # Footer # ------------------------------------------ footer: + useColumns: false # Logo (from /images/logos/___) logo: fresh-white-alt.svg # Social Media Title diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8775d55e..d5ee1308 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,5 @@ {{- $footer := .Site.Params.footer }} +{{- $useColumns := index $footer "useColumns" }} {{- $logo := index $footer "logo" }} {{- $quickLinks := index $footer "quicklinks" }} {{- $socialMedia := index $footer "socialmedia" }} @@ -6,14 +7,23 @@ {{- $socialMediaTitle := index $footer "socialmediatitle" }}