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 --clock="" set the clock used by Hugo, e.g. --clock
35 2021-11-06T22:30:00.00+09:00
36
37
38 --config="" config file (default is path/config.yaml|json|toml)
39
40
41 --configDir="config" config dir
42
43
44 --debug[=false] debug output
45
46
47 -e, --environment="" build environment
48
49
50 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
51 ing the given Glob pattern
52
53
54 --log[=false] enable Logging
55
56
57 --logFile="" log File path (if set, logging enabled automatically)
58
59
60 --quiet[=false] build in quiet mode
61
62
63 -s, --source="" filesystem path to read files relative from
64
65
66 --themesDir="" filesystem path to themes directory
67
68
69 -v, --verbose[=false] verbose output
70
71
72 --verboseLog[=false] verbose logging
73
74
75
77 hugo-new(1)
78
79
80
81Hugo 0.101.0 Oct 2022 HUGO-NEW-SITE(1)