1HUGO-NEW-SITE(1) Hugo Manual HUGO-NEW-SITE(1)
2
3
4
6 hugo-new-site - Create a new site (skeleton)
7
8
9
11 hugo new site [path] [flags]
12
13
14
16 Create a new site in the provided directory. The new site will have
17 the correct structure, but no content or theme yet. Use hugo new [con‐
18 tentPath] to create new content.
19
20
21
23 --force[=false] init inside non-empty directory
24
25
26 -f, --format="toml" config file format
27
28
29 -h, --help[=false] help for site
30
31
32
34 --config="" config file (default is path/config.yaml|json|toml)
35
36
37 --configDir="config" config dir
38
39
40 --debug[=false] debug output
41
42
43 -e, --environment="" build environment
44
45
46 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
47 ing the given Glob pattern
48
49
50 --log[=false] enable Logging
51
52
53 --logFile="" log File path (if set, logging enabled automatically)
54
55
56 --quiet[=false] build in quiet mode
57
58
59 -s, --source="" filesystem path to read files relative from
60
61
62 --themesDir="" filesystem path to themes directory
63
64
65 -v, --verbose[=false] verbose output
66
67
68 --verboseLog[=false] verbose logging
69
70
71
73 hugo-new(1)
74
75
76
77Hugo 0.98.0 Jul 2022 HUGO-NEW-SITE(1)