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 --clock="" set the clock used by Hugo, e.g. --clock
30 2021-11-06T22:30:00.00+09:00
31
32
33 --config="" config file (default is path/config.yaml|json|toml)
34
35
36 --configDir="config" config dir
37
38
39 --debug[=false] debug output
40
41
42 -e, --environment="" build environment
43
44
45 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
46 ing the given Glob pattern
47
48
49 --log[=false] enable Logging
50
51
52 --logFile="" log File path (if set, logging enabled automatically)
53
54
55 --quiet[=false] build in quiet mode
56
57
58 -s, --source="" filesystem path to read files relative from
59
60
61 --themesDir="" filesystem path to themes directory
62
63
64 -v, --verbose[=false] verbose output
65
66
67 --verboseLog[=false] verbose logging
68
69
70
72 hugo-new(1)
73
74
75
76Hugo 0.101.0 Oct 2022 HUGO-NEW-THEME(1)