mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
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:
parent
73cbefdbc8
commit
05b76dcb6f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue