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 --clock="" set the clock used by Hugo, e.g. --clock
25 2021-11-06T22:30:00.00+09:00
26
27
28 -e, --environment="" build environment
29
30
31 -h, --help[=false] help for theme
32
33
34 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
35 ing the given Glob pattern
36
37
38 -s, --source="" filesystem path to read files relative from
39
40
41 --themesDir="" filesystem path to themes directory
42
43
44
46 --config="" config file (default is hugo.yaml|json|toml)
47
48
49 --configDir="config" config dir
50
51
52 --debug[=false] debug output
53
54
55 --log[=false] enable Logging
56
57
58 --logFile="" log File path (if set, logging enabled automatically)
59
60
61 --quiet[=false] build in quiet mode
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.111.3 Jul 2023 HUGO-NEW-THEME(1)