www/gohugo: Update to 0.161.0
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.161.0
Bug fixes
- langs/i18n: Fix translation lookup when using language variants
- create: Fix non-deterministic conflict detection in hugo new content
- commands: Fix environment isolation for configuration settings
- Fix filename dimension identifiers (role_X, version_X) to replace mount config
- Fix it so we never auto-fallback to page resources in other roles/versions
Improvements
- css: Support nested hugo:vars/ imports
- github: Update GitHub actions versions
- hugolib: Do not render aliases if the page is not rendered
- langs/i18n: Improve default content language fallback
- helpers: Remove unused code
- common/constants: Remove unused consts
- common/paths: Remove unused code
- tests: Update Ruby setup action to v1.305.0
- langs: Use Language.Locale as primary localization key
- config/security: Add "! " negation to Whitelist, harden default http.urls
- Harden Node tool execution with --permission flag
- tpl/collections: Honor the Eqer interface in where comparisons
- modules: Ignore non-require blocks in go.mod rewrite
- Replace the concurrent map with an identical upstream version
- Add slice-based permalinks config with PageMatcher target
- commands: Add missing import
- Revert "common/hugo: Deprecate extended and extended_withdeploy editions"
- Adjust the SECURITY.md slightly
- resources/page: Add passing test for Issue #14325
- Add a more flexible filename identifier scheme that also allows setting roles and versions (#14754)
- common/hugo: Deprecate extended and extended_withdeploy editions
- parser/pageparser: Add a parser fuzz test