1HUGO-NEW-SITE(1)                  Hugo Manual                 HUGO-NEW-SITE(1)
2
3
4

NAME

6       hugo-new-site - Create a new site (skeleton)
7
8
9

SYNOPSIS

11       hugo new site [path] [flags]
12
13
14

DESCRIPTION

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

OPTIONS

23       --force[=false]      init inside non-empty directory
24
25
26       -f, --format="toml"      config  frontmatter format
27
28
29       -h, --help[=false]      help for site
30
31
32

OPTIONS INHERITED FROM PARENT COMMANDS

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       --ignoreVendor[=false]      ignores any _vendor directory
47
48
49       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
50       ing the given Glob pattern
51
52
53       --log[=false]      enable Logging
54
55
56       --logFile=""      log File path (if set, logging enabled automatically)
57
58
59       --quiet[=false]      build in quiet mode
60
61
62       -s, --source=""      filesystem path to read files relative from
63
64
65       --themesDir=""      filesystem path to themes directory
66
67
68       -v, --verbose[=false]      verbose output
69
70
71       --verboseLog[=false]      verbose logging
72
73
74

SEE ALSO

76       hugo-new(1)
77
78
79
80Hugo 0.80.0                        Jan 2021                   HUGO-NEW-SITE(1)
Impressum