Commit c10d2e0d authored by Matthew Holt's avatar Matthew Holt

Make the thing compile

parent 1a8f7533
......@@ -49,7 +49,7 @@ func (t Templates) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error
// Execute it
var buf bytes.Buffer
err = bc.Template.Execute(&buf, ctx)
err = tpl.Execute(&buf, ctx)
if err != nil {
return http.StatusInternalServerError, err
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment