projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
137d2da
)
Fix `new theme` command description
author
Avinash Sonawane
<rootkea@gmail.com>
Sun, 14 Mar 2021 11:20:02 +0000
(11:20 +0000)
committer
Bjø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
patch
|
blob
|
history
diff --git
a/commands/new_theme.go
b/commands/new_theme.go
index 3ffd85c041fbf1eb9cb7d0eb73049e9c4a13b9d6..965c2ca5f2832802164b6311b7466eb734efce04 100644
(file)
--- 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.`,