HUGO-NEW-THEME(1)
π HUGO-NEW-THEME π
okay so bestie, this is a page from the Hugo Manual and it's literally all about hugo-new-theme β the glow-up command that births a brand new theme for you β¨
β¨ SYNOPSIS β¨
hugo new theme [name] [flags]
π DESCRIPTION π
So here's the vibe: you run this and it creates a new theme with whatever name you gave it, tucked right into the ./themes directory. no cap π«Ά
And it's not giving you some sad empty folder either β it generates a functional theme, like a whole working one, complete with template examples and sample content. it's giving starter-pack energy, it's giving "here's your theme bestie, go off" π
π OPTIONS π
--format="toml"β your preferred file format, and the choices aretoml,yamlorjson. default is"toml"because of course it is π-h,--help[=false]β help fortheme. press it when you need the tea β
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones are inherited, so they're coming from the parent command β still iconic, still yours to use π
--clock=""β sets the clock that Hugo uses, e.g.--clock 2021-11-06T22:30:00.00+09:00β--config=""β the config file (default ishugo.yaml|json|toml) π--configDir="config"β the config dir. default"config", we love a default π-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,warnorerrorπ₯--noBuildLock[=false]β don't create the.hugo_build.lockfile. chaotic, but valid π--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. yes, that themes directory π¦
π SEE ALSO π
hugo-new(1)β the parent, the main character, go say hi π«Ά
ngl bestie, if you forget every flag on this page, just rememberhugo new theme [name]and the./themesdirectory will handle the rest. fr fr π€
this cutie was brought to you by Hugo 0.169.0, dated Oct 2026 β go forth and theme, you absolute icon π πβ¨
π¦ 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