Add a blank line after the front matter when writing back a page.

Could also be done in parser.InterfaceToFrontMatter(), but logically the
extra blank line belongs to the page, not the front matter itself.
This commit is contained in:
Dato Simó authored and spf13 committed 2014-05-12 15:46:58 -04:00
1 parent 73cbefdbc8
commit 05b76dcb6f
1 file changed
+1
+1
View File
@@ -570,6 +570,7 @@ func (page *Page) SetSourceMetaData(in interface{}, mark rune) (err error) {
if err != nil {
return err
}
by = append(by, '\n')
page.sourceFrontmatter = by