comment out unneeded code from lib files

This commit is contained in:
Triston Armstrong 2023-12-25 19:27:32 -06:00
parent 67f7658907
commit ba483eb27d
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import { unified } from "unified";
import markdown from "remark-parse"; import markdown from "remark-parse";
import { wikiLinkPlugin } from "remark-wiki-link"; import { wikiLinkPlugin } from "remark-wiki-link";
import html from "remark-html"; import html from "remark-html";
import frontmatter from "remark-frontmatter"; //import frontmatter from "remark-frontmatter";
import externalLinks from "remark-external-links"; import externalLinks from "remark-external-links";
import highlight from "remark-highlight.js"; import highlight from "remark-highlight.js";
import { Node } from "./node"; import { Node } from "./node";

View File

@ -41,7 +41,7 @@ export function getSinglePost(slug) {
var fileContent = Node.readFileSync(currentFilePath) var fileContent = Node.readFileSync(currentFilePath)
const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent) //const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent)
// console.log("===============\n\nFile is scanning: ", slug) // console.log("===============\n\nFile is scanning: ", slug)
const [htmlContent] = Transformer.getHtmlContent(fileContent) const [htmlContent] = Transformer.getHtmlContent(fileContent)
// console.log("==================================") // console.log("==================================")