Add html doctype to baseof.html template for new themes

This commit is contained in:
openscript 2018-06-25 11:38:44 +02:00 committed by Anthony Fok
parent 3d5928889a
commit b5a3aa7082

View file

@ -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(`<html>
baseofDefault := []byte(`<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}