From: openscript <1105080+openscript@users.noreply.github.com> Date: Mon, 25 Jun 2018 09:39:20 +0000 (+0200) Subject: Create missing head.html partial on new theme generation X-Git-Tag: v0.43~34 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fd71fa89bd6c197402582c87b2b76d4b96d562bf;p=brevno-suite%2Fhugo Create missing head.html partial on new theme generation --- diff --git a/commands/new_theme.go b/commands/new_theme.go index 10741e05..936f67e9 100644 --- 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")