Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update meta variable to metadata variable so that the meta data updat… #58396

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ Frontmatter is a YAML like key/value pairing that can be used to store data abou
- [remark-frontmatter](https://github.com/remarkjs/remark-frontmatter)
- [gray-matter](https://github.com/jonschlinkert/gray-matter).

To access page metadata with `@next/mdx`, you can export a meta object from within the `.mdx` file:
To access page metadata with `@next/mdx`, you can export a metadata object from within the `.mdx` file:

```mdx
export const meta = {
export const metadata = {
author: 'John Doe',
}

Expand Down