www/gohugo: update to 0.141.0
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.141.0
Bug fixes
- common/paths: Fix docstring
- commands: Fix spelling in comment
- Fix branch resource overlapping bundle path
- templates: Fix handling of multiple defers in the same template
- Fix NPX issue with TailwindCSS v4
- Fix server refresh on 404 template changes
Improvements
- tpl/tplimpl: Simplify some test assertions
- tpl/tplimpl: Deprecate twitter shortcode in favor of x shortcode
- commands: Set up the glboal logger early
- commands: Add --printZero to the config command
- For render hooks, only fallback to HTML (or the defaultOutputFormat) template
- tpl/collections: Use MapRange/SetIterKey/SetIterValue for Where, Sort and Merge
- tpl/collections: Add BenchmarkWhereMap
- tpl/collections: Add BenchmarkSortMap
- tpl/collections: Add Merge benchmark
- resources/images: Refactor golden image tests to locate them closer to the implementation
- resources/images: Add some mask tests
- resources/images: Add images.Mask
- tpl/tplimpl: Use plain text for image render hook alt attribute
- resources/images: Add some golden tests for images.QR
- tpl/images: Change signature of images.QR to images.QR TEXT OPTIONS
- resources/images: Add some golden tests for images.Text
- images.Text: Add "alignx" option for horizontal alignment
- images: Rework the golden tests
- create: Respect --noBuildLock in hugo new
- tpl/images: Format the QR hashes as hex
- tpl/images: Add images.QR function
- Add try
- resources: Add FromOpts for more effective resource creation
- markup/highlight: Remove noHl option