diff options
Diffstat (limited to 'examples/dot-import')
-rw-r--r-- | examples/dot-import/dot-import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dot-import/dot-import.go b/examples/dot-import/dot-import.go index 1d595b8..d735785 100644 --- a/examples/dot-import/dot-import.go +++ b/examples/dot-import/dot-import.go @@ -40,5 +40,5 @@ func Navbar(currentPath string) g.Node { } func NavbarLink(href, name, currentPath string) g.Node { - return A(href, Classes{"is-active": currentPath == href}, g.Text(name)) + return A(Href(href), Classes{"is-active": currentPath == href}, g.Text(name)) } |