HUGO-CONVERT(1)
π hugo-convert(1) β the Hugo Manual, bestie edition π
okay so real talk, this is hugo-convert from the Hugo Manual and it's literally the glow-up station for your front matter β¨
πΈ NAME πΈ
hugo-convert β converts your front matter to a whole other format, no cap π
π¦ SYNOPSIS π¦
hugo convert [command] [flags]
β¨ DESCRIPTION β¨
Convert front matter to another format. That's it, that's the vibe π«Ά
But listen β the real magic is in the subcommands. Go peek at toJSON, toTOML and toYAML for the full tea, because that's where you actually pick your destination format π
π OPTIONS π
-h,--help[=false]β help for convert. your little "wait what does this do again" button π-o,--output=""β filesystem path to write files to. default is empty, so it goes wherever it goes π«--unsafe[=false]β enable less safe operations, please backup first. BESTIE. BACK. UP. FIRST. π this one is literally telling you it's the risky one, so don't come crying to me when your files are gone π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the hand-me-downs from hugo itself and honestly they ate π
--clock=""β set the clock used by Hugo, e.g.--clock 2021-11-06T22:30:00.00+09:00β°--config=""β config file (default ishugo.yaml|json|toml) ποΈ--configDir="config"β config dir. defaults toconfigπ―-d,--destination=""β filesystem path to write files to π-e,--environment=""β build environment π--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern π§Ή--logLevel=""β log level (debug|info|warn|error) πͺ΅--noBuildLock[=false]β don't create.hugo_build.lockfile π--quiet[=false]β build in quiet mode π€«-M,--renderToMemory[=false]β render to memory (mostly useful when running the server) π§-s,--source=""β filesystem path to read files relative from π--themesDir=""β filesystem path to themes directory π¨
π SEE ALSO π
like, go read those too, iykyk π
ok that's the whole page, you're so welcome π β¨
and for the cute sign-off: this little masterpiece is Hugo 0.169.0, dated Oct 2026 β periodt ππ§π
π¦ where this page comes from
- arch rolling: hugo 0.169.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms