Fix `new theme` command description
authorAvinash Sonawane <rootkea@gmail.com>
Sun, 14 Mar 2021 11:20:02 +0000 (11:20 +0000)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 14 Mar 2021 17:47:23 +0000 (18:47 +0100)
`hugo new theme foo` creates theme `foo` in `./themes` and not in current directory.

commands/new_theme.go

index 3ffd85c041fbf1eb9cb7d0eb73049e9c4a13b9d6..965c2ca5f2832802164b6311b7466eb734efce04 100644 (file)
@@ -38,7 +38,7 @@ func (b *commandsBuilder) newNewThemeCmd() *newThemeCmd {
        cmd := &cobra.Command{
                Use:   "theme [name]",
                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
 name to the copyright line in the license and adjust the theme.toml file
 as you see fit.`,