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