about summary refs log tree commit diff stats
path: root/components
diff options
context:
space:
mode:
authorMarkus Wüstenberg2020-12-10 13:13:10 +0100
committerGitHub2020-12-10 13:13:10 +0100
commit100ae9e8308f380eeb3c6a5ea7a7e3277483aa43 (patch)
tree86176f9ef9393e6c06e7b8992b60176f1879fc3a /components
parenta76262652b227c95ce140f3698c46f59b79354ac (diff)
downloadgomponents-100ae9e8308f380eeb3c6a5ea7a7e3277483aa43.tar.lz
gomponents-100ae9e8308f380eeb3c6a5ea7a7e3277483aa43.tar.zst
gomponents-100ae9e8308f380eeb3c6a5ea7a7e3277483aa43.zip
Rename Document to Doctype (#54)
Diffstat (limited to 'components')
-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")),