www/gohugo: Update to 0.156.0
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.156.0
Notes
- Remove items deprecated <= v0.136.0 (note)
- hugolib: Move site.Data to hugo.Data, deprecate Site.AllPages/BuildDrafts/Languages
- hugolib: Add Page.Sites to Site.Sites deprecation notice
- resources/page: Deprecate cascade._target in favor of cascade.target
- tpl/tplimpl: Throw error when calling gist shortcode
- tpl/tplimpl: Throw error when calling twitter/twitter_simple shortcodes
Bug fixes
- tpl/internal: Replace deprecated parser.ParseDir and doc.New
- commands: Fix --panicOnWarning flag having no effect with module version warnings
- paths: Fix handling of _ as a path name
- docs: Fix lineNos default value in docs.yaml
- hugolib: Fix term title when taxonomy name contains spaces
Improvements
- hugolib: Simplify sites collection
- hugolib: Adjust hugo.Sites.Default
- Move common/hugo/HugoInfo to resources/page
- hugolib: Add hugo.Sites and .Site.IsDefault(), modify .Site.Sites
- output: Remove unused method
- Update AI assistance guidelines in CONTRIBUTING.md
- tpl/collections: Speed up where and sort performance
- commands: Skip chmod for files without owner-write permission
- tpl/collections: Add some more benchmarks for where and sort
- all: Change site to project where appropriate
- markup/highlight: Allow lineNos to be true, false, "inline", or "table"
- Upgrade to Go 1.26
- tpl: Move from md5 to xxhash for some in memory keys
- testscripts/commands: Update 'future' date to far future
Approved by: doceng@ (implicit)