mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-17 21:19:33 +00:00
Create missing head.html partial on new theme generation
This commit is contained in:
parent
b5a3aa7082
commit
fd71fa89bd
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ func (n *newThemeCmd) newTheme(cmd *cobra.Command, args []string) error {
|
||||||
return err
|
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", "header.html")
|
||||||
touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "footer.html")
|
touchFile(cfg.Fs.Source, createpath, "layouts", "partials", "footer.html")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue