func NotFoundHandler(w http.ResponseWriter, r *http.Request) { global := map[string]interface{}{ "query": r.URL.Query(), } w.WriteHeader(http.StatusNotFound) templates.Render(w, global, "404.html") }
func Http500Handler(resp *templates.HttpResponse) error { return templates.Render(resp.Writer, resp.Context, "50x.html") }