diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b848a70..6408a549 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,20 @@ All notable changes to this project (since its fork) are documented in this file The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [2.0.2] - 2023-02-06 + +### Added + +* config option: `footer.useColumns` + * if set to false, toggle footer style to left-aligned (instead of columns). + + +### Changed + +* exampleSite/config.yaml > `baseURL` changed to localhost:1313. +* If content file for hero-item.html provides no button text, hide button. +* If content file for hero.html provides no image, just show header horizontally centered (and hide button if no text defined). + ## [2.0.1] - 2023-01-31 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" }}