hugo-convert - Man Page

Convert your content to different formats


hugo convert [flags]


Convert your content (e.g. front matter) to different formats.

See convert's subcommands toJSON, toTOML and toYAML for more information.


-h, --help[=false] help for convert

-o, --output="" filesystem path to write files to

--unsafe[=false] enable less safe operations, please backup first

Options Inherited from Parent Commands

--config="" config file (default is path/config.yaml|json|toml)

--configDir="config" config dir

--debug[=false] debug output

-e, --environment="" build environment

--ignoreVendor[=false] ignores any _vendor directory

--ignoreVendorPaths="" ignores any _vendor for module paths matching the given Glob pattern

--log[=false] enable Logging

--logFile="" log File path (if set, logging enabled automatically)

--quiet[=false] build in quiet mode

-s, --source="" filesystem path to read files relative from

--themesDir="" filesystem path to themes directory

-v, --verbose[=false] verbose output

--verboseLog[=false] verbose logging

See Also

hugo(1), hugo-convert-toJSON(1), hugo-convert-toTOML(1), hugo-convert-toYAML(1)

Referenced By

hugo(1), hugo-convert-toJSON(1), hugo-convert-toTOML(1), hugo-convert-toYAML(1).

Sep 2021 Hugo 0.80.0 Hugo Manual