hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit fd71fa89bd6c197402582c87b2b76d4b96d562bf
parent b5a3aa7082135d0a573f4fbb00f798e26b67b902
Author: openscript <1105080+openscript@users.noreply.github.com>
Date:   Mon, 25 Jun 2018 11:39:20 +0200

Create missing head.html partial on new theme generation

Diffstat:
Mcommands/new_theme.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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")