1HUGO-NEW-THEME(1) Hugo Manual HUGO-NEW-THEME(1)
2
3
4
6 hugo-new-theme - Create a new theme
7
8
9
11 hugo new theme [name] [flags]
12
13
14
16 Create a new theme (skeleton) called [name] in the current directory.
17 New theme is a skeleton. Please add content to the touched files. Add
18 your name to the copyright line in the license and adjust the
19 theme.toml file as you see fit.
20
21
22
24 -h, --help[=false] help for theme
25
26
27
29 --config="" config file (default is path/config.yaml|json|toml)
30
31
32 --configDir="config" config dir
33
34
35 --debug[=false] debug output
36
37
38 -e, --environment="" build environment
39
40
41 --ignoreVendor[=false] ignores any _vendor directory
42
43
44 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
45 ing the given Glob pattern
46
47
48 --log[=false] enable Logging
49
50
51 --logFile="" log File path (if set, logging enabled automatically)
52
53
54 --quiet[=false] build in quiet mode
55
56
57 -s, --source="" filesystem path to read files relative from
58
59
60 --themesDir="" filesystem path to themes directory
61
62
63 -v, --verbose[=false] verbose output
64
65
66 --verboseLog[=false] verbose logging
67
68
69
71 hugo-new(1)
72
73
74
75Hugo 0.80.0 Sep 2021 HUGO-NEW-THEME(1)