rewrite some frontmatter and editor-related stuff

This commit is contained in:
Henrique Dias committed 2017-01-18 18:40:20 +00:00
1 parent e8eeb9260e
commit 15e46f99c7
5 files changed
+51 -37

No files matched your search

+1 -1
View File
@@ -160,7 +160,7 @@ func (p Page) PrintAsHTML(w http.ResponseWriter, templates ...string) (int, erro
return http.StatusOK, err
}
// PrintAsJSON prints the current Page infromation in JSON
// PrintAsJSON prints the current Page information in JSON
func (p Page) PrintAsJSON(w http.ResponseWriter) (int, error) {
marsh, err := json.MarshalIndent(p.Info.Data, "", " ")
if err != nil {