Unverified Commit 0c9041e5 authored by S. Mahdi Mir-Ismaili's avatar S. Mahdi Mir-Ismaili Committed by GitHub

Fix a mistake URL in "docs/generate-metadata.mdx/metadataBase" (#51199)

The sample output of `metadataBase` configuration (`<head <link rel="alternate" ...>`) had an incorrect `href`:

https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase
parent 9d0129c6
...@@ -392,8 +392,8 @@ export const metadata = { ...@@ -392,8 +392,8 @@ export const metadata = {
```html filename="<head> output" hideLineNumbers ```html filename="<head> output" hideLineNumbers
<link rel="canonical" href="https://acme.com" /> <link rel="canonical" href="https://acme.com" />
<link rel="alternate" hreflang="en-US" href="https://nextjs.org/en-US" /> <link rel="alternate" hreflang="en-US" href="https://acme.com/en-US" />
<link rel="alternate" hreflang="de-DE" href="https://nextjs.org/de-DE" /> <link rel="alternate" hreflang="de-DE" href="https://acme.com/de-DE" />
<meta property="og:image" content="https://acme.com/og-image.png" /> <meta property="og:image" content="https://acme.com/og-image.png" />
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment