Update to Hugo 0.158 #158

Open
jtbx wants to merge 3 commits from feat/hugo-update into main
Owner

Recent Hugo versions deprecated some things.

The main issue is the deprecation of the integrated libsass if favor of an external dart-sass installation. With the current pico-CSS version this yields some deprecation warnings from the SASS compiler now.

EDIT: It seems like the "exts-" docker image variant is deprecated. But I think we only need the "dart-sass" version (which includes an extended Hugo, git support, node.js, go and the Dart SASS compiler but no Pandoc, etc.)

Recent Hugo versions deprecated some things. The main issue is the deprecation of the integrated libsass if favor of an external dart-sass installation. With the current pico-CSS version this yields some deprecation warnings from the SASS compiler now. EDIT: It seems like the "exts-" docker image variant is deprecated. But I think we only need the "dart-sass" version (which includes an extended Hugo, git support, node.js, go and the Dart SASS compiler but no Pandoc, etc.)
libsass will be deprecated in hugo v0.153.

Also fix some SASS 2.0 deprecation notices in our scss files
Theme,CI: Update for hugo v0.158 (renamed LanguageCode to Locale)
Some checks failed
/ build (pull_request) Failing after 2s
58f9de807d
Owner

image

noice

![image](/attachments/011d0e89-24ac-420a-9150-1e3d123d1781) noice
8.8 KiB
jtbx force-pushed feat/hugo-update from 58f9de807d
Some checks failed
/ build (pull_request) Failing after 2s
to 6875b82e61
All checks were successful
/ build (pull_request) Successful in 59s
2026-06-08 22:48:46 +02:00
Compare
Author
Owner
Staging should be on https://staging.hamburg.ccc.de/pr158/
Owner

FWIW, running locally with hugo v0.163.1+extended+withdeploy darwin/arm64 works fine for me.

FWIW, running locally with `hugo v0.163.1+extended+withdeploy darwin/arm64` works fine for me.
All checks were successful
/ build (pull_request) Successful in 59s
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/hugo-update:feat/hugo-update
git switch feat/hugo-update
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
CCCHH/ccchh-website!158
No description provided.