From 100ae9e8308f380eeb3c6a5ea7a7e3277483aa43 Mon Sep 17 00:00:00 2001 From: Markus Wüstenberg Date: Thu, 10 Dec 2020 13:13:10 +0100 Subject: Rename Document to Doctype (#54) --- components/documents.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') diff --git a/components/documents.go b/components/documents.go index e2d3a22..17b421a 100644 --- a/components/documents.go +++ b/components/documents.go @@ -25,7 +25,7 @@ func HTML5(p HTML5Props) g.NodeFunc { if p.Description != "" { description = Meta(Name("description"), Content(p.Description)) } - return Document( + return Doctype( HTML(lang, Head( Meta(Charset("utf-8")), -- cgit 1.4.1