general improvements; updates on #32

This commit is contained in:
Henrique Dias committed 2016-10-31 21:25:14 +00:00
1 parent 44065cfaf9
commit f5660fbc48
5 files changed
+74 -118

No files matched your search

+4 -1
View File
@@ -70,7 +70,10 @@ func GetEditor(i *file.Info) (*Editor, error) {
// Parses the page content and the frontmatter
editor.Content = strings.TrimSpace(string(page.Content()))
editor.FrontMatter, _, err = frontmatter.Pretty(page.FrontMatter())
break
if err == nil {
break
}
}
}