1HUGO(1)Nov(2019)                                              HUGO(1)Nov(2019)
2
3
4
5Hugo 0.59.1 Hugo Manual
6
7

NAME

9       hugo - hugo builds your site
10
11
12

SYNOPSIS

14       hugo [flags]
15
16
17

DESCRIPTION

19       hugo is the main command, used to build your Hugo site.
20
21
22       Hugo  is  a  Fast and Flexible Static Site Generator built with love by
23       spf13 and friends in Go.
24
25
26       Complete documentation is available at http://gohugo.io/.
27
28
29

OPTIONS

31       -b,  --baseURL=""       hostname  (and  path)   to   the   root,   e.g.
32       http://spf13.com/
33
34
35       -D, --buildDrafts[=false]      include content marked as draft
36
37
38       -E, --buildExpired[=false]      include expired content
39
40
41       -F,  --buildFuture[=false]      include content with publishdate in the
42       future
43
44
45       --cacheDir=""       filesystem  path  to  cache  directory.   Defaults:
46       $TMPDIR/hugo_cache/
47
48
49       --cleanDestinationDir[=false]       remove  files  from destination not
50       found in static directories
51
52
53       --config=""      config file (default is path/config.yaml|json|toml)
54
55
56       --configDir="config"      config dir
57
58
59       -c, --contentDir=""      filesystem path to content directory
60
61
62       --debug[=false]      debug output
63
64
65       -d, --destination=""      filesystem path to write files to
66
67
68       --disableKinds=[]      disable different kind of pages (home, RSS etc.)
69
70
71       --enableGitInfo[=false]      add Git revision, date and author info  to
72       the pages
73
74
75       -e, --environment=""      build environment
76
77
78       --forceSyncStatic[=false]      copy all files when static is changed.
79
80
81       --gc[=false]      enable to run some cleanup tasks (remove unused cache
82       files) after the build
83
84
85       -h, --help[=false]      help for hugo
86
87
88       --i18n-warnings[=false]      print missing translations
89
90
91       --ignoreCache[=false]      ignores the cache directory
92
93
94       --ignoreVendor[=false]      ignores any _vendor directory
95
96
97       -l, --layoutDir=""      filesystem path to layout directory
98
99
100       --log[=false]      enable Logging
101
102
103       --logFile=""      log File path (if set, logging enabled automatically)
104
105
106       --minify[=false]      minify any supported  output  format  (HTML,  XML
107       etc.)
108
109
110       --noChmod[=false]      don't sync permission mode of files
111
112
113       --noTimes[=false]      don't sync modification time of files
114
115
116       --path-warnings[=false]       print  warnings on duplicate target paths
117       etc.
118
119
120       --quiet[=false]      build in quiet mode
121
122
123       --renderToMemory[=false]      render to memory (only useful for  bench‐
124       mark testing)
125
126
127       -s, --source=""      filesystem path to read files relative from
128
129
130       --templateMetrics[=false]       display  metrics  about template execu‐
131       tions
132
133
134       --templateMetricsHints[=false]      calculate  some  improvement  hints
135       when combined with --templateMetrics
136
137
138       -t, --theme=[]      themes to use (located in /themes/THEMENAME/)
139
140
141       --themesDir=""      filesystem path to themes directory
142
143
144       --trace=""      write trace to file (not useful in general)
145
146
147       -v, --verbose[=false]      verbose output
148
149
150       --verboseLog[=false]      verbose logging
151
152
153       -w,  --watch[=false]       watch filesystem for changes and recreate as
154       needed
155
156
157

SEE ALSO

159       hugo-config(1),    hugo-convert(1),    hugo-deploy(1),     hugo-env(1),
160       hugo-gen(1),  hugo-import(1),  hugo-list(1),  hugo-mod(1), hugo-new(1),
161       hugo-server(1), hugo-version(1)
162
163
164
165                                                              HUGO(1)Nov(2019)
Impressum