Skip to content

Commit

Permalink
Fix missing PagesOnly in 05-mdx (#64505)
Browse files Browse the repository at this point in the history
Looks like we have a syntax error in
#63568 from missing closing
`</PagessOnly>` tag.

```sh
b383-75ab3d452c93.mdx:0:0: ERROR: [plugin: @mdx-js/esbuild] Expected a closing tag for `</PagesOnly>` (503:1-503:12)
```

x-ref: #63568

Closes NEXT-3111
  • Loading branch information
ijjk committed Apr 15, 2024
1 parent 4623eac commit 9c83a34
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ export default function MDXPage({ children }) {
}
```

</PagesOnly >

## Frontmatter

Frontmatter is a YAML like key/value pairing that can be used to store data about a page. `@next/mdx` does **not** support frontmatter by default, though there are many solutions for adding frontmatter to your MDX content, such as:
Expand Down

0 comments on commit 9c83a34

Please sign in to comment.