Skip to content

@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

OptionTypeDescription
frontMatterFormatstringFront matter format to use (json, toml or yaml). Optional, defaults to yaml.