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