hugo_new_theme.md (1495B)
1 --- 2 title: "hugo new theme" 3 slug: hugo_new_theme 4 url: /commands/hugo_new_theme/ 5 --- 6 ## hugo new theme 7 8 Create a new theme 9 10 ### Synopsis 11 12 Create a new theme (skeleton) called [name] in ./themes. 13 New theme is a skeleton. Please add content to the touched files. Add your 14 name to the copyright line in the license and adjust the theme.toml file 15 as you see fit. 16 17 ``` 18 hugo new theme [name] [flags] 19 ``` 20 21 ### Options 22 23 ``` 24 -h, --help help for theme 25 ``` 26 27 ### Options inherited from parent commands 28 29 ``` 30 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 31 --config string config file (default is path/config.yaml|json|toml) 32 --configDir string config dir (default "config") 33 --debug debug output 34 -e, --environment string build environment 35 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern 36 --log enable Logging 37 --logFile string log File path (if set, logging enabled automatically) 38 --quiet build in quiet mode 39 -s, --source string filesystem path to read files relative from 40 --themesDir string filesystem path to themes directory 41 -v, --verbose verbose output 42 --verboseLog verbose logging 43 ``` 44 45 ### SEE ALSO 46 47 * [hugo new](/commands/hugo_new/) - Create new content for your site 48