about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index b817ad0..23b29b7 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ func Page(title, path string) g.Node {
 			el.Body(
 				Navbar(path),
 				el.H1(title),
-				el.P(g.Text(fmt.Sprintf("Welcome to the page at %v.", path))),
+				el.P(g.Textf("Welcome to the page at %v.", path)),
 			),
 		),
 	)