Browse Source

Remove outdated comment

main
dan 2 years ago
committed by GitHub
parent
commit
5314700ebf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/pages/[[...markdownPath]].js

2
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 {

Loading…
Cancel
Save