From e11afd17b25d0dad577e18e724ed9960db45c2e4 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 2 Jun 2024 20:08:46 -0700 Subject: cmd/hlang: fix faq page Signed-off-by: Xe Iaso --- cmd/hlang/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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) -- cgit v1.2.3