From: openscript <1105080+openscript@users.noreply.github.com> Date: Mon, 25 Jun 2018 09:38:44 +0000 (+0200) Subject: Add html doctype to baseof.html template for new themes X-Git-Tag: v0.43~35 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b5a3aa7082135d0a573f4fbb00f798e26b67b902;p=brevno-suite%2Fhugo Add html doctype to baseof.html template for new themes --- diff --git a/commands/new_theme.go b/commands/new_theme.go index c09ec027..10741e05 100644 --- a/commands/new_theme.go +++ b/commands/new_theme.go @@ -80,7 +80,8 @@ func (n *newThemeCmd) newTheme(cmd *cobra.Command, args []string) error { touchFile(cfg.Fs.Source, createpath, "layouts", "_default", "list.html") touchFile(cfg.Fs.Source, createpath, "layouts", "_default", "single.html") - baseofDefault := []byte(` + baseofDefault := []byte(` + {{- partial "head.html" . -}} {{- partial "header.html" . -}}