www/gohugo: Update to 0.149.1
Accumulated ChangeLog:
Update to 0.149.1
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.149.1
- Remove noindex meta tag from alias.html
- Fix nilpointer on ToC heading
- tpl/collections: Require collections.D args to be ints
- Upgrade to Go 1.25.1
- Fix config env handling for some slice options
- minifiers: Update deprecation handling
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.149.0
Bug fixes
- create: Fix new content command with future dates
- Fix server rebuild when adding a new leaf bundle with resources in one go
- Fix rebuild when deleting a content adapter file
Improvements
- tpl/collections: Add an integration test for collections.D
- tpl/collections: Add collections.D using Vitter's Method D for sequential random sampling
- commands: Deprecate --omitEmpty on chromastyles command
- commands: Add --omitClassComments to the chromastyles command
- all: Use slices.Equal
- resources/page: Add :sectionslug and :sectionslugs permalink tokens
- Upgrade to Go 1.25
- common/hcontext: Replace with external package
- resources/page: Use reflect.TypeFor
- tpl/strings: Remove unnecessary error check
- markup/goldmark: Apply Hugo Goldmark Extras when rendering TOC
- markup/goldmark: Sanitize TOC heading titles
- Add a key to the partialCached deadlock prevention
- transform: Add support for "format" option in transform.Unmarshal
- Skip flakey test on CI de4a7f1 @bep
PR: 289147 Approved by: doceng@ (blackend@)