dan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
beta/src/pages/[[...markdownPath]].js
|
|
@ -68,7 +68,7 @@ export async function getStaticProps(context) { |
|
|
|
const rootDir = process.cwd() + '/src/content/'; |
|
|
|
const mdxComponentNames = Object.keys(MDXComponents); |
|
|
|
|
|
|
|
// Read MDX from the file. Parse Frontmatter data out of it.
|
|
|
|
// Read MDX from the file.
|
|
|
|
let path = (context.params.markdownPath || []).join('/') || 'index'; |
|
|
|
let mdxWithFrontmatter; |
|
|
|
try { |
|
|
|