about summary refs log tree commit diff stats
path: root/components/documents.go
diff options
context:
space:
mode:
Diffstat (limited to 'components/documents.go')
-rw-r--r--components/documents.go2
1 files changed, 1 insertions, 1 deletions
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")),