Remove preprocessThreeDashes call as it cause some content become empty.

This commit is contained in:
Tuan Cao 2022-03-16 14:27:36 +07:00
parent 223f039104
commit 7607695970

View File

@ -50,7 +50,7 @@ export function getSinglePost(filename) {
const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent) const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent)
//console.log("\tFounded front matter data: ", currentFileFrontMatter, "\n") //console.log("\tFounded front matter data: ", currentFileFrontMatter, "\n")
fileContent = Transformer.preprocessThreeDashes(fileContent) // fileContent = Transformer.preprocessThreeDashes(fileContent)
//fileContent = fileContent.split("---").join("") //fileContent = fileContent.split("---").join("")
//console.log("filecontent end") //console.log("filecontent end")