Remove preprocessThreeDashes call as it cause some content become empty.
This commit is contained in:
parent
223f039104
commit
7607695970
@ -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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user