mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 02:13:24 +00:00
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
29 lines
741 B
YAML
29 lines
741 B
YAML
############################
|
|
## HUGO MODULES
|
|
## Install or uninstall themes and plugins here.
|
|
## Docs: https://gohugo.io/hugo-modules/
|
|
############################
|
|
|
|
imports:
|
|
- path: github.com/HugoBlox/kit/modules/integrations/netlify
|
|
- path: github.com/HugoBlox/kit/modules/blox
|
|
|
|
# Install any Hugo Blox within the `hugo-blox/blox/` folder
|
|
mounts:
|
|
- source: hugo-blox/blox/community
|
|
target: layouts/_partials/blox/community/
|
|
files:
|
|
- '**.html'
|
|
- source: hugo-blox/blox/all-access
|
|
target: layouts/_partials/blox/
|
|
files:
|
|
- '**.html'
|
|
- source: hugo-blox/blox
|
|
target: assets/dist/community/blox/
|
|
files:
|
|
- '**.css'
|
|
- source: layouts
|
|
target: layouts
|
|
- source: assets
|
|
target: assets
|