HUGO-IMPORT(1)
π HUGO-IMPORT(1) β the hugo import glow-up guide β¨
ok so you're reading the HUGO-IMPORT(1) page from the Hugo Manual, bestie, and honestly? it's giving "let's steal your old site's whole vibe and bring it into Hugo." let's get into it π«Ά
β¨ NAME β¨
hugo-import β literally the tool that imports a project from another system. that's the whole job. no cap. π
π¦ SYNOPSIS π¦
hugo import [command] [flags]
πΈ DESCRIPTION πΈ
okay so, hugo import imports a project from another system. iconic behaviour, honestly. π₯
but here's the tea: import requires a subcommand. it can't do the thing solo β it needs a main character subcommand to tell it what to import. the manual's own example is:
hugo import jekyll jekyll_root_path target_path
so yeah β subcommand first, then the paths, and then you're slaying. π
π OPTIONS π
-h,--help[=false]β help forimport. the "what does this even do" button, but make it cute. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones get handed down from the parent commands like the world's most useful hand-me-downs. every single one, no skips: π
--clock=""β set the clock used by Hugo, e.g.--clock 2021-11-06T22:30:00.00+09:00. yes, you can time-travel your build. π--config=""β config file (default ishugo.yaml|json|toml).--configDir="config"β config dir. that's it, that's the whole thing.-d,--destination=""β filesystem path to write files to.-e,--environment=""β build environment.--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern. very "not my problem" energy. π--logLevel=""β log level (debug|info|warn|error).--noBuildLock[=false]β don't create.hugo_build.lockfile.--quiet[=false]β build in quiet mode. shhhh π€«-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 π
go read these next, bestie, they're the friends of this page:
ngl the second one is lowkey the star of the show β it's the actual subcommand example from up in DESCRIPTION. iykyk π§
okay that's the whole page!! mwah π this was Hugo 0.169.0, dated Oct 2026 β written in the HUGO-IMPORT(1) era and honestly it ate. go import something and text me about it πβ¨
π¦ 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