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 ./themes. New theme is
17 a skeleton. Please add content to the touched files. Add your name to
18 the copyright line in the license and adjust the theme.toml file as you
19 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 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
42 ing the given Glob pattern
43
44
45 --log[=false] enable Logging
46
47
48 --logFile="" log File path (if set, logging enabled automatically)
49
50
51 --quiet[=false] build in quiet mode
52
53
54 -s, --source="" filesystem path to read files relative from
55
56
57 --themesDir="" filesystem path to themes directory
58
59
60 -v, --verbose[=false] verbose output
61
62
63 --verboseLog[=false] verbose logging
64
65
66
68 hugo-new(1)
69
70
71
72Hugo 0.98.0 Jul 2022 HUGO-NEW-THEME(1)