Skip to content

Commit

Permalink
Add html doctype to baseof.html template for new themes
Browse files Browse the repository at this point in the history
  • Loading branch information
openscript authored and anthonyfok committed Jun 25, 2018
1 parent 3d59288 commit b5a3aa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/new_theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" . -}}
Expand Down

0 comments on commit b5a3aa7

Please sign in to comment.