From fd71fa89bd6c197402582c87b2b76d4b96d562bf Mon Sep 17 00:00:00 2001 From: openscript <1105080+openscript@users.noreply.github.com> Date: Mon, 25 Jun 2018 11:39:20 +0200 Subject: [PATCH] Create missing head.html partial on new theme generation --- commands/new_theme.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/new_theme.go b/commands/new_theme.go index 10741e056..936f67e99 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")