mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Create missing head.html partial on new theme generation
This commit is contained in:
@@ -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")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user