Skip to content

Commit

Permalink
Fix new theme command description
Browse files Browse the repository at this point in the history
`hugo new theme foo` creates theme `foo` in `./themes` and not in current directory.
  • Loading branch information
rootkea authored and bep committed Mar 14, 2021
1 parent 137d2da commit 24c716c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/new_theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
Expand Down

0 comments on commit 24c716c

Please sign in to comment.