all repos — gomponents @ 100ae9e8308f380eeb3c6a5ea7a7e3277483aa43

HTML components in pure Go

Rename Document to Doctype (#54)

Markus Wüstenberg
commit

100ae9e8308f380eeb3c6a5ea7a7e3277483aa43

parent

a76262652b227c95ce140f3698c46f59b79354ac

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M examples/simple/simple.goexamples/simple/simple.go
@@ -27,7 +27,7 @@ path string
} func page(p props) g.Node { - return h.Document( + return h.Doctype( h.HTML(h.Lang("en"), h.Head( h.TitleEl(p.title),