www/gohugo: Update to 0.152.0
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.152.0
Note
- Replace to gopkg.in/yaml with github.com/goccy/go-yaml (note)
Improvements
- config: Clone language map entries before modifying them
- Skip flaky test for now
- Misc YAML adjustments
- hugofs: Make sure that non-project module mounts are local paths
- langs/i18n: Improve reserved key error message
- langs: Add test case using a "reserved" i18n code
Dependency Updates
- deps: Upgrade github.com/gohugoio/go-i18n/v2
- build(deps): bump github.com/tdewolff/minify/v2 from 2.24.3 to 2.24.4
Approved by: doceng@ (blanket)
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.152.1
These fixes are are all related to the YAML library upgrade in v0.152.0.
- Expand the numeric conversions to template funcs/methods
- Fix where with uint64
- Fix it so YAML integer types can be used where Go int types are expected
- tpl/compare: Fix compare/sort of uint64s
- Fix "assignment to entry in nil map" on empty YAML config files
Approved by: doceng@ (blanket)