Fix new theme command description

`hugo new theme foo` creates theme `foo` in `./themes` and not in current directory.
This commit is contained in:
Avinash Sonawane 2021-03-14 11:20:02 +00:00 committed by Bjørn Erik Pedersen
parent 137d2dab32
commit 24c716cac3

View File

@ -38,7 +38,7 @@ func (b *commandsBuilder) newNewThemeCmd() *newThemeCmd {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "theme [name]", Use: "theme [name]",
Short: "Create a new theme", Short: "Create a new theme",
Long: `Create a new theme (skeleton) called [name] in the current directory. Long: `Create a new theme (skeleton) called [name] in ./themes.
New theme is a skeleton. Please add content to the touched files. Add your New theme is a skeleton. Please add content to the touched files. Add your
name to the copyright line in the license and adjust the theme.toml file name to the copyright line in the license and adjust the theme.toml file
as you see fit.`, as you see fit.`,