HUGO-CONVERT-TOYAML(1)
π HUGO-CONVERT-TOYAML π
okay bestie, so this is hugo-convert-toYAML, straight out of the Hugo Manual, and it's literally the glow-up your front matter has been waiting for β¨
πΈ NAME πΈ
hugo-convert-toYAML β the icon that converts your front matter to YAML π
π¦ SYNOPSIS π¦
hugo convert toYAML [flags] [args]
π DESCRIPTION π
So here's the tea π β toYAML goes through every single bit of front matter in the content directory and converts it all to use YAML for the front matter. That's it. That's the whole vibe. Every file, all at once, no cap. Your TOML and JSON front matter are getting a makeover and the result is giving main character energy π
β¨ OPTIONS β¨
-h,--help[=false]β help fortoYAML, your little safety blanket when you're confused π«Ά
π₯ OPTIONS INHERITED FROM PARENT COMMANDS π₯
these bad boys come from the parent command, so they're technically not toYAML's, but they're still invited to the party π
--clock=""β sets the clock Hugo uses, like--clock 2021-11-06T22:30:00.00+09:00β°--config=""β config file, and the default ishugo.yaml|json|toml--configDir="config"β the config dir, defaulting toconfig-d,--destination=""β filesystem path to write files to-e,--environment=""β the build environment--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern--logLevel=""β log level, and your options aredebug|info|warn|error--noBuildLock[=false]β don't create the.hugo_build.lockfile, if the lock is not your thing π-o,--output=""β filesystem path to write files to--quiet[=false]β build in quiet mode, for when you simply cannot with the noise π€«-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--unsafe[=false]β enables less safe operations π please backup first, like genuinely, do not skip this step, i am begging
ok real talk β that --unsafe one is not playing around. back up your stuff first, bestie, fr fr π
π SEE ALSO π
hugo-convert(1)β its parent, go say hi π«Ά
and that's the whole page, no notes π this was Hugo 0.169.0, dated Oct 2026, and it's literally iconic, mwah πβ¨
π¦ 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