HUGO-BUILD(1) Hugo Manual HUGO-BUILD(1) (NAME) hugo-build - (SYNOPSIS) hugo build [flags] (DESCRIPTION) build Hugo . (Hugo) spf13 Go . https://gohugo.io . (OPTIONS) -b, --baseURL="" ( ) https://spf13.com -D, --buildDrafts[=false] (draft) -E, --buildExpired[=false] -F, --buildFuture[=false] (publishdate) --cacheDir="" (cache) --cleanDestinationDir[=false] (static) --clock="" Hugo --clock 2021-11-06T22:30:00.00+09:00 --config="" ( hugo.yaml|json|toml ) --configDir="config" -c, --contentDir="" -d, --destination="" --disableKinds=[] (home RSS ) --enableGitInfo[=false] Git CODEOWNERS -e, --environment="" --forceSyncStatic[=false] static. --gc[=false] ( ) -h, --help[=false] build --ignoreCache[=false] --ignoreVendorPaths="" _vendor Glob -l, --layoutDir="" (layout) --logLevel="" (debug|info|warn|error) --minify[=false] (minify) (HTML XML ) --noBuildLock[=false] .hugo_build.lock --noChmod[=false] (chmod) --noTimes[=false] --panicOnWarning[=false] (panic) WARNING --poll="" (poll) --poll 700ms poll --printI18nWarnings[=false] --printMemoryUsage[=false] --printPathWarnings[=false] --printUnusedTemplates[=false] (templates) . --quiet[=false] --renderSegments=[] ( segments) -M, --renderToMemory[=false] ( ) -s, --source="" --templateMetrics[=false] --templateMetricsHints[=false] --templateMetrics -t, --theme=[] ( /themes/THEMENAME/) --themesDir="" --trace="" (trace) file ( ) -w, --watch[=false] (SEE ALSO) hugo(1) Hugo 0.165.0 Aug 2026 HUGO-BUILD(1)