general improvements; updates on #32
This commit is contained in:
1 parent
44065cfaf9
commit
f5660fbc48
5 files changed
+74
-118
No files matched your search
+1
-1
@@ -133,7 +133,7 @@ func (p Page) PrintAsHTML(w http.ResponseWriter, templates ...string) (int, erro
|
||||
|
||||
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
||||
_, err = buf.WriteTo(w)
|
||||
return http.StatusOK, nil
|
||||
return http.StatusOK, err
|
||||
}
|
||||
|
||||
// PrintAsJSON prints the current Page infromation in JSON
|
||||
|
||||
Reference in new issue
Block a user