comment out matter stuff

This commit is contained in:
Triston Armstrong 2023-12-25 22:38:56 -06:00
parent 52969bebfa
commit 0af046b5ea

View File

@ -1,4 +1,4 @@
import matter from 'gray-matter' //import matter from 'gray-matter'
import { unified } from "unified"; 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";
@ -30,9 +30,9 @@ export class Transformer {
} }
static getFrontMatterData = (filecontent) => { static getFrontMatterData = (filecontent) => {
if (Transformer.haveFrontMatter(filecontent)) { //if (Transformer.haveFrontMatter(filecontent)) {
return matter(filecontent).data // return matter(filecontent).data
} //}
return {} return {}
} }