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:
b5a3aa7
)
Create missing head.html partial on new theme generation
author
openscript
<1105080+openscript@users.noreply.github.com>
Mon, 25 Jun 2018 09:39:20 +0000
(11:39 +0200)
committer
Anthony Fok
<foka@debian.org>
Mon, 25 Jun 2018 18:06:45 +0000
(12:06 -0600)
commands/new_theme.go
patch
|
blob
|
history
diff --git
a/commands/new_theme.go
b/commands/new_theme.go
index 10741e05612178a5bdcb7bf032dce07c35abe525..936f67e991eea08f61606c7c3c54cdd2a04fa2db 100644
(file)
--- a/
commands/new_theme.go
+++ b/
commands/new_theme.go
@@
-97,6
+97,7
@@
func (n *newThemeCmd) newTheme(cmd *cobra.Command, args []string) error {
return err
}
+ touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "head.html")
touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "header.html")
touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "footer.html")