diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md index d0f51e8..58f8b1d 100644 --- a/README.md +++ b/README.md @@ -58,12 +58,12 @@ func Page(title, currentPath string) g.Node { HTML( Lang("en"), Head( - TitleEl(title), + TitleEl(g.Text(title)), StyleEl(Type("text/css"), g.Raw(".is-active{ font-weight: bold }")), ), Body( Navbar(currentPath), - H1(title), + H1(g.Text(title)), P(g.Textf("Welcome to the page at %v.", currentPath)), ), ), @@ -115,7 +115,7 @@ func Page(title, currentPath string) g.Node { }, Body: []g.Node{ Navbar(currentPath), - H1(title), + H1(g.Text(title)), P(g.Textf("Welcome to the page at %v.", currentPath)), }, }) |