aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/hlang/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hlang/http.go b/cmd/hlang/http.go
index a302199..2ab3d6b 100644
--- a/cmd/hlang/http.go
+++ b/cmd/hlang/http.go
@@ -24,7 +24,7 @@ var (
func doHTTP() error {
http.Handle("/{$}", templ.Handler(xess.Base("The h Programming Language", nil, navbar(), homePage(), footer())))
http.Handle("/docs", templ.Handler(xess.Base("Documentation", nil, navbar(), docsPage(), footer())))
- http.Handle("/faq", templ.Handler(xess.Base("FAQ", nil, navbar(), docsPage(), footer())))
+ http.Handle("/faq", templ.Handler(xess.Base("FAQ", nil, navbar(), faqPage(), footer())))
http.Handle("/play", templ.Handler(xess.Base("Playground", nil, navbar(), playgroundPage(), footer())))
http.HandleFunc("/api/playground", runPlayground)