about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/simple.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/simple.go b/examples/simple/simple.go
index 535fa6e..529cf18 100644
--- a/examples/simple/simple.go
+++ b/examples/simple/simple.go
@@ -27,7 +27,7 @@ type props struct {
 }
 
 func page(p props) g.Node {
-	return h.Document(
+	return h.Doctype(
 		h.HTML(h.Lang("en"),
 			h.Head(
 				h.TitleEl(p.title),