Permalink
Browse files

Add html doctype to baseof.html template for new themes

  • Loading branch information...
openscript authored and anthonyfok committed Jun 25, 2018
1 parent 3d59288 commit b5a3aa7082135d0a573f4fbb00f798e26b67b902
Showing with 2 additions and 1 deletion.
  1. +2 −1 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(`<html>
baseofDefault := []byte(`<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}

0 comments on commit b5a3aa7

Please sign in to comment.