This commit is contained in:
Henrique Dias committed 2017-01-04 18:17:47 +00:00
1 parent edccade28f
commit b701d9f094
3 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ func AppendRune(frontmatter []byte, language string) []byte {
case "toml":
return []byte("+++\n" + string(frontmatter) + "\n+++")
case "json":
return frontmatter
return []byte("{\n" + string(frontmatter) + "\n}")
}
return frontmatter