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 17b421a..47373cc 100644
--- a/components/documents.go
+++ b/components/documents.go
@@ -17,7 +17,7 @@ type HTML5Props struct {
 }
 
 // HTML5 document template.
-func HTML5(p HTML5Props) g.NodeFunc {
+func HTML5(p HTML5Props) g.Node {
 	var lang, description g.Node
 	if p.Language != "" {
 		lang = Lang(p.Language)