www/gohugo: Update to 0.40
Change log:
- Add path.Ext, path.Dir and path.Base
- Make fileExist use the same filesystem as readFile Add .Page.BundleType
- Add zero-based Ordinal to shortcode
- Process and render shortcodes in their order of appearance
- Init the content and shortcodes early
- Prepare child page resources before the page itself
- Make .Content (almost) always available in shortcodes
- Add language merge support for Pages in resource.Resources
- Improve .Content vs shortcodes
- Improve .Get docs
- Update missing positional parameter test for .Get
- Improve error message in metadata parse
- Add some context to front matter parse error
- Updated GetCSV error message
- .Get doesn't crash on missing positional param fixes
- fix syntax signature
PR: 227724
Submitted by: ben.lavery@hashbang0.com (maintainer)