diff --git a/main.go b/main.go index 557c67e..7779175 100644 --- a/main.go +++ b/main.go @@ -34,15 +34,8 @@ func contactHandler(w http.ResponseWriter, r *http.Request) { executeTemplate(w, path) } func faqHandler(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "text/html; charset=utf8") - fmt.Fprint(w, ` -

FAQ

-
-

Is this a real website?

-

No.

-

I Can Has Cheezburger?

-

No.

- `) + path := "templates/faq.gohtml" + executeTemplate(w, path) } func notFoundHandler(w http.ResponseWriter, r *http.Request) {