class

Hwaro::Services::Importers::HugoImporter

Inherits Hwaro::Services::Importers::Base / Reference / Object

Constants

TOML_FM_REGEX = /\A\+\+\+[ \t]*\n(.*?\n?)^\+\+\+[ \t]*$\n?(.*)\z/m

Regex for TOML frontmatter: +++ on first line, +++ on its own line. (YAML frontmatter reuses the inherited Base::YAML_FM_REGEX.)

Instance methods

run(options : Config::Options::ImportOptions) : ImportResult
Source