Skip to content

Commit 7dc5860

Browse files
committed
Fix README for frontmatter
1 parent bf8f4cb commit 7dc5860

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ export default function TestPage({ source, frontMatter }) {
146146

147147
export async function getStaticProps() {
148148
// MDX text - can be from a local file, database, anywhere
149-
const source = `
150-
---
149+
const source = `---
151150
title: Test
152151
---
153152

0 commit comments

Comments
 (0)