Skip to content

Does not build with latest hugo 0.151

Running hugo server on unstable yields:

WARN  deprecated: the ":filename" permalink token was deprecated in Hugo 0.144.0 and will be removed in a future release. Use ":contentbasename" instead.
Watching for changes in /home/fortysixandtwo/git/mobian/mobian-blog/{archetypes,content,static,themes}
Watching for config changes in /home/fortysixandtwo/git/mobian/mobian-blog/config.toml
Start building sites … 
hugo v0.151.0+extended linux/amd64 BuildDate=2025-10-04T08:21:33Z VendorInfo=debian:0.151.0-1

ERROR deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and subsequently removed. Use css.Sass instead.
Built in 57 ms
Error: error building site: logged 1 error(s)

Regarding the versions, rmadison says this:

hugo       | 0.111.3-1     | oldstable      | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
hugo       | 0.131.0-1     | stable         | source, amd64, arm64, armel, armhf, i386, ppc64el, riscv64, s390x
hugo       | 0.151.0-1     | testing        | source, amd64, arm64, armhf, i386, ppc64el, riscv64, s390x

So it's definitely at least deprecated in Trixie.

Maybe as a reference for someone like me, who wouldn't otherwise know much of what their doing: The Phosh Site has recently been updated to work with 0.150