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 --clock="" set the clock used by Hugo, e.g. --clock
24 2021-11-06T22:30:00.00+09:00
25
26
27 -e, --environment="" build environment
28
29
30 --force[=false] init inside non-empty directory
31
32
33 -f, --format="toml" config file format
34
35
36 -h, --help[=false] help for site
37
38
39 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
40 ing the given Glob pattern
41
42
43 -s, --source="" filesystem path to read files relative from
44
45
46 --themesDir="" filesystem path to themes directory
47
48
49
51 --config="" config file (default is hugo.yaml|json|toml)
52
53
54 --configDir="config" config dir
55
56
57 --debug[=false] debug output
58
59
60 --log[=false] enable Logging
61
62
63 --logFile="" log File path (if set, logging enabled automatically)
64
65
66 --quiet[=false] build in quiet mode
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.111.3 Jul 2023 HUGO-NEW-SITE(1)