diff --git a/lib/transformer.js b/lib/transformer.js index 8b23eba..db85035 100644 --- a/lib/transformer.js +++ b/lib/transformer.js @@ -3,7 +3,7 @@ import { unified } from "unified"; import markdown from "remark-parse"; import { wikiLinkPlugin } from "remark-wiki-link"; import html from "remark-html"; -import frontmatter from "remark-frontmatter"; +//import frontmatter from "remark-frontmatter"; import externalLinks from "remark-external-links"; import highlight from "remark-highlight.js"; import { Node } from "./node"; diff --git a/lib/utils.js b/lib/utils.js index 9a126a5..c7b0492 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -41,7 +41,7 @@ export function getSinglePost(slug) { var fileContent = Node.readFileSync(currentFilePath) - const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent) + //const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent) // console.log("===============\n\nFile is scanning: ", slug) const [htmlContent] = Transformer.getHtmlContent(fileContent) // console.log("==================================")