commit 24c716cac35b0c5476944108e545058749c43e61
parent 137d2dab3285e9b0f8fe4dcc65ab6ecf8bb09002
Author: Avinash Sonawane <rootkea@gmail.com>
Date: Sun, 14 Mar 2021 11:20:02 +0000
Fix `new theme` command description
`hugo new theme foo` creates theme `foo` in `./themes` and not in current directory.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/new_theme.go b/commands/new_theme.go
@@ -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.`,