comment out matter stuff
This commit is contained in:
parent
52969bebfa
commit
0af046b5ea
@ -1,4 +1,4 @@
|
||||
import matter from 'gray-matter'
|
||||
//import matter from 'gray-matter'
|
||||
import { unified } from "unified";
|
||||
import markdown from "remark-parse";
|
||||
import { wikiLinkPlugin } from "remark-wiki-link";
|
||||
@ -30,9 +30,9 @@ export class Transformer {
|
||||
}
|
||||
|
||||
static getFrontMatterData = (filecontent) => {
|
||||
if (Transformer.haveFrontMatter(filecontent)) {
|
||||
return matter(filecontent).data
|
||||
}
|
||||
//if (Transformer.haveFrontMatter(filecontent)) {
|
||||
// return matter(filecontent).data
|
||||
//}
|
||||
return {}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user