feat(hugo): add support for Hugo v0.153 breaking changes

migrate deprecated `includeFiles` to `files` glob slice (Hugo >= 0.153.0)

Replace `module.mounts.includeFiles` with the new `files` setting
introduced in Hugo v0.153.0. Update minimum Hugo version accordingly.

Affected files:
- modules/blox/hugo.yaml
- All template module.yaml configs (7 templates)

BREAKING CHANGE

See: https://gohugo.io/configuration/module/#files
This commit is contained in:
George Cushen committed 2026-02-19 14:57:09 +00:00
1 parent a3c21b401e
commit 764756ab50
8 files changed
+47 -26

No files matched your search

@@ -12,13 +12,16 @@ imports:
mounts:
- source: hugo-blox/blox/community
target: layouts/_partials/blox/community/
includeFiles: '**.html'
files:
- '**.html'
- source: hugo-blox/blox/all-access
target: layouts/_partials/blox/
includeFiles: '**.html'
files:
- '**.html'
- source: hugo-blox/blox
target: assets/dist/community/blox/
includeFiles: '**.css'
files:
- '**.css'
- source: layouts
target: layouts
- source: assets