www/gohugo: update to 0.146.1
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.146.1
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.146.0
The big new thing in this release is a fully refreshed template system – simpler
and much better. This version also comes with a full dependency refresh and
some useful new template funcs:
- templates.Current: Info about the current executing template and its call stack. Very useful for debugging.
- time.In: Returns the given date/time as represented in the specified IANA time zone.
Bug fixes
- tpl/tplimpl: Fix full screen option in vimeo and youtube shortcodes
Improvements
- tpl: Warn and skip non-hook templates inside /layouts/_markup
- tpl: Add a partial lookup cache
- tpl: Add templates.Current
- commands/new: Improve theme creation
- tpl/tplimpl: Update embedded pagination template
- Reimplement and simplify Hugo's template system
- config: Use the non-global logger for deprecations when possible
- tpl/time: Add time.In function
- resources: Add option to silence dependency deprecation warnings
- common/hreflect: Replace the map/RWMutex method cache with sync.Map
- common/hexec: Remove github.com/cli/safeexec
- parser/metadecoder: Improve errors for non-map XML root values
- identity: Use clear to clear the finder seen map
- cache: Apply httpcache defaults for polling config
- tpl/tplimpl: Add loading attribute to Vimeo shortcode
- commands: Add --omitEmpty flag to gen chromastyles
- tpl: Add trailing newline to robots.txt template
- commands: Skip flaky test on Windows
- resources/image: Mark loong64 as FMA-using architecture