0.0.2 • Published 4 months ago
@tanglemedia/hugo-build-scripts v0.0.2
Hugo Build Script - Beta
Contains hugo partials that you can use to generate the hugo pages from their corresponding tables on Directus
This is a beta version. Expect some errors when using this.
How to install
- In the root of your hugo repo, run
npm i @tanglemedia/hugo-build-scripts
- In your site config file
config.{toml,yaml,json}
, add the following:
"module": {
"mounts": [
"source": "node_modules/@tanglemedia/hugo-build-scripts/layouts",
"target": "layouts"
]
}