aboutsummaryrefslogtreecommitdiff
path: root/cmd/hlang
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-06-02 20:08:46 -0700
committerXe Iaso <me@xeiaso.net>2024-06-02 20:08:46 -0700
commite11afd17b25d0dad577e18e724ed9960db45c2e4 (patch)
tree43563a9d1d8614ae6fa7b6e837f51dd0330b2bb5 /cmd/hlang
parent20095101d78992295618bed197dd12a5a69f49f1 (diff)
downloadx-e11afd17b25d0dad577e18e724ed9960db45c2e4.tar.xz
x-e11afd17b25d0dad577e18e724ed9960db45c2e4.zip
cmd/hlang: fix faq page
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/hlang')
-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)