Update to fix deprecated .Site.Languages in Hugo v0.156.0 (#149)

* Fix for the fact that .Site.Languages was deprecated in Hugo v0.156.0. This also makes the min version for the Zen them v0.156.0.

* More changes to languages, minimum version is now v0.158.0.

* Updated version when min Hugo version changes.
This commit is contained in:
Fredrik Jonsson 2026-04-08 10:37:25 +02:00 • committed by GitHub
commit 5ca43e14d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa
## Minimum Hugo version
Hugo version 0.146.0 or higher is required. Since v6 the extended version is no longer needed as it was with v5 and earlier.
Hugo version 0.158.0 or higher is required. Since v6 the extended version is no longer needed as it was with v5 and earlier.
## Installation
@ -152,6 +152,7 @@ hugo server --themesDir ../..
## Version 6.x 2026-03-10
* Minimum Hugo version is now v0.158.0 (since 6.3).
* Converted from sass to modern vanilla css with nesting and layers. Please check [CSS Nesting | Can I use](https://caniuse.com/css-nesting) to see if you are comfortable with css nesting support in browsers before updating to v6.
* No changes to styles or templates so sites should look identical, if the browser support nesting.