table of contents
HUGO(1) | Hugo Manual | HUGO(1) |
NAME¶
hugo - hugo builds your siteSYNOPSIS¶
hugoDESCRIPTION¶
hugo is the main command, used to build your Hugo site.Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go.
Complete documentation is available at ⟨http://gohugo.io/⟩.
OPTIONS¶
-b, --baseURL="" hostname (and path) to the root, e.g. ⟨http://spf13.com/⟩-D, --buildDrafts[=false] include content marked as draft
-E, --buildExpired[=false] include expired content
-F, --buildFuture[=false] include content with publishdate in the future
--cacheDir="" filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--canonifyURLs[=false] if true, all relative URLs will be canonicalized using baseURL
--cleanDestinationDir[=false] Remove files from destination not found in static directories
--config="" config file (default is path/config.yaml|json|toml)
-c, --contentDir="" filesystem path to content directory
-d, --destination="" filesystem path to write files to
--disable404[=false] Do not render 404 page
--disableRSS[=false] Do not build RSS files
--disableSitemap[=false] Do not build Sitemap file
--enableGitInfo[=false] Add Git revision, date and author info to the pages
--forceSyncStatic[=false] Copy all files when static is changed.
--i18n-warnings[=false] Print missing translations
--ignoreCache[=false] Ignores the cache directory
-l, --layoutDir="" filesystem path to layout directory
--log[=false] Enable Logging
--logFile="" Log File path (if set, logging enabled automatically)
--noChmod[=false] Don't sync permission mode of files
--noTimes[=false] Don't sync modification time of files
--pluralizeListTitles[=true] Pluralize titles in lists using inflect
--preserveTaxonomyNames[=false] Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
--quiet[=false] build in quiet mode
--renderToMemory[=false] render to memory (only useful for benchmark testing)
-s, --source="" filesystem path to read files relative from
--stepAnalysis[=false] display memory and timing of different steps of the program
-t, --theme="" theme to use (located in /themes/THEMENAME/)
--uglyURLs[=false] if true, use /filename.html instead of /filename/
-v, --verbose[=false] verbose output
--verboseLog[=false] verbose logging
-w, --watch[=false] watch filesystem for changes and recreate as needed
SEE ALSO¶
hugo-benchmark(1), hugo-config(1), hugo-convert(1), hugo-env(1), hugo-gen(1), hugo-import(1), hugo-list(1), hugo-new(1), hugo-server(1), hugo-undraft(1), hugo-version(1)Apr 2017 | Hugo 0.18.1 |