Fix code in readme (#69) Broken in #66.
Markus Wüstenberg markus@maragu.dk
Wed, 05 May 2021 09:53:19 +0200
1 files changed, 3 insertions(+), 3 deletions(-)
jump to
M README.md → README.md
@@ -58,12 +58,12 @@ return Doctype( 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 @@ StyleEl(Type("text/css"), g.Raw(".is-active{ font-weight: bold }")), }, Body: []g.Node{ Navbar(currentPath), - H1(title), + H1(g.Text(title)), P(g.Textf("Welcome to the page at %v.", currentPath)), }, })