diff options
Diffstat (limited to 'examples/simple/simple.go')
-rw-r--r-- | examples/simple/simple.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/simple.go b/examples/simple/simple.go index a6877f5..93aa28f 100644 --- a/examples/simple/simple.go +++ b/examples/simple/simple.go @@ -42,7 +42,7 @@ func Page(p props) g.Node { {Path: "/foo", Name: "Foo"}, {Path: "/bar", Name: "Bar"}, }), - H1(p.title), + H1(g.Text(p.title)), P(g.Textf("Welcome to the page at %v.", p.path)), }, }) |