shithub: hugo

Download patch

ref: 05b76dcb6fb02fdaa7e8b99cd5cb123bdae8881e
parent: 73cbefdbc8829d24c9da27d9b2001a6a7e2eb169
author: Dato Simó <[email protected]>
date: Sun May 11 23:34:44 EDT 2014

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.

--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -570,6 +570,7 @@
 	if err != nil {
 		return err
 	}
+	by = append(by, '\n')
 
 	page.sourceFrontmatter = by