From 772a17262c6ef5d43ab4a6ff72f8404d93ed128f Mon Sep 17 00:00:00 2001 From: Robbert Stevens Date: Mon, 13 Nov 2023 20:15:55 +0100 Subject: [PATCH] update meta variable to metadata variable so that the meta data updates with mdx --- .../01-building-your-application/07-configuring/05-mdx.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx b/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx index fad21d296911b..f47bb6bdaf2a0 100644 --- a/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx +++ b/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx @@ -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', }