rewrite some frontmatter and editor-related stuff

Former-commit-id: 15e46f99c745757eab86f329caebd3bba102f4dc
This commit is contained in:
Henrique Dias
2017-01-18 18:40:20 +00:00
parent 34ce7afb88
commit 0ad540249e
5 changed files with 51 additions and 37 deletions

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 {