Hugo publication preset for Indiekit.
npm i @indiekit/preset-hugo
Add @indiekit/preset-hugo
to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/preset-hugo"],
"@indiekit/preset-hugo": {
"frontMatterFormat": "json"
}
}
Option | Type | Description |
---|---|---|
frontMatterFormat |
string |
Front matter format to use (json , toml or yaml ). Optional, defaults to yaml . |