From c94e3a702288fcd25d8cd0d5b048aef5ae7285ae Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Fri, 11 Apr 2025 14:02:16 +0200 Subject: [PATCH] Set the minumum Hugo version to 0.146.0. Will convert to the new templating system soon. --- README.md | 5 +++-- hugo.yaml | 2 +- theme.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f5b56a8..b1bde64 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa ## Version 5.x +* Minimum Hugo version is now v0.146.0. * Rearanged a lot of variables so some work to upgrade if you have customisations. This is the reson for making this v5. I'm working towards using vanilla css only. * Colours are now set directly as css variables. You no longer need to override `_colors.scss`, instead override select colours in `_custom.scss`. This simplification was the main motivation for v5. * Converted most sass settings in to pure css variables. @@ -62,7 +63,7 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa 1. Remove your projects `_colors.scss`, take note of the colours you have changed. 2. Override colours and other css variables in projects `_custom.scss`. -2. Update/remove/convert to css vars the variables you overridden in projects `_extra.scss` so they match changes in themes `_variables.scss` and `_sass_variables.scss`. +3. Update/remove/convert to css vars the variables you overridden in projects `_extra.scss` so they match changes in themes `_variables.scss` and `_sass_variables.scss`. ## Version 4.x @@ -146,7 +147,7 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa ## Minimum Hugo version -Hugo Extended version 0.124.0 or higher is required. +Hugo Extended version 0.146.0 or higher is required. ## Installation diff --git a/hugo.yaml b/hugo.yaml index c22babd..849146c 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,4 +1,4 @@ module: hugoVersion: extended: true - min: "0.124.0" + min: "0.146.0" diff --git a/theme.toml b/theme.toml index 5b147e1..1178f76 100644 --- a/theme.toml +++ b/theme.toml @@ -6,7 +6,7 @@ license = "GPLv2" licenselink = "http://www.gnu.org/licenses/old-licenses/gpl-2.0.html" tags = ["accessible", "multilingual", "responsive", "blog", "search", "math", "podcast"] features = ["accessible", "multilingual", "responsive", "grid", "sass", "search", "matomo", "jsonfeed", "math", "podcast"] -min_version = "0.124.0" +min_version = "0.146.0" [author] name = "Fredrik Jonsson"