about summary refs log tree commit diff stats
path: root/cmd/build
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/build')
-rw-r--r--cmd/build/build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/build/build.go b/cmd/build/build.go
index 914f359..1983e3c 100644
--- a/cmd/build/build.go
+++ b/cmd/build/build.go
@@ -155,6 +155,7 @@ func layout(filename string, config config.Config, pageTitle string) (*goquery.D
 func renderHTML(doc *goquery.Document) io.Reader {
 	r, w := io.Pipe()
 	go func() {
+		w.Write([]byte("<!doctype html>\n"))
 		goquery.Render(w, doc.Children())
 		defer w.Close()
 	}()