diff --git a/CHANGELOG.md b/CHANGELOG.md index 36a33b9..6dd9db0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.0] - 2020-04-28 +### Added +* Footer height in multilines view is now dependant of params.contact variable. + +### Changed +* Export the CSS variable modification to a new partial *style.css*. + +### Fixed +* Fix the navbar height. + +## [1.1.0] - 2020-04-28 +### Added +* Option to set color variables in config.toml. Options are: + * **font**, general font color, default to *black*; + * **background**, general background color, default to *white*; + * **main**, theme color, used for footer among others, default to *grey*; + * **font_above**, used for font above *main* color, default to *white*. + +### Changed +* Change the height of the navbar, use vh now. + +### Fixed +* Viewport size on mobile. + ## [1.0.0] - 2020-04-27 ### Added - -* First version of the theme +* First version of the theme. diff --git a/README.md b/README.md index 019047b..1d66f8a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ to your site's theme directory. ```bash $ mkdir themes $ cd themes -$ git clone https://git.vulgarisons.info/raghnarok/hugo_idunn.git simple-site +$ git clone https://git.vulgarisons.info/raghnarok/hugo_idunn.git idunn ``` Don't forget to change the theme in your config.toml file. @@ -24,7 +24,7 @@ baseurl = "https://yourdoma.in" # The base url of your Hugo website title = "Title" # The title of your website author = "Author" # The author of the website language = "fr" -theme = "idunn" # The Hugo theme +theme = "idunn" # The Hugo theme ``` ### Description @@ -44,8 +44,10 @@ It is possible to basicaly change some colors: ```toml [params.colors] - main = "green" # Color of the footer - alt_text = "black" # Color of the text above 'main' color + font = "black" # General font color, default to black + background = "white" # General background color, default to white + main = "grey" # Theme color, used for footer among others, default to grey + font_above = "white" # Used for font above *main* color, default to white ``` ### Custom CSS diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 006eb53..741bdb3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,11 @@ {{- partial "head.html" . -}} - +{{- partial "style.html" . -}} - {{- partial "header.html" . -}} - {{- block "main" . }}{{- end }} - {{- partial "footer.html" . -}} + {{- partial "header.html" . -}} + {{- block "main" . }}{{- end }} + {{- partial "footer.html" . -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 59e05c6..d76eea8 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,13 +1,10 @@