From c042ee28cf82225c43baf00346f4103a055dc1e7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 18 Apr 2024 09:51:19 +0200 Subject: Add missing doctype --- cmd/build/build.go | 1 + 1 file changed, 1 insertion(+) 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("\n")) goquery.Render(w, doc.Children()) defer w.Close() }() -- cgit 1.4.1