Skip to content

Commit

Permalink
Fix a mistake URL in "docs/generate-metadata.mdx/metadataBase" (#51199)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mirismaili committed Jun 12, 2023
1 parent 9d0129c commit 0c9041e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ export const metadata = {

```html filename="<head> output" hideLineNumbers
<link rel="canonical" href="https://acme.com" />
<link rel="alternate" hreflang="en-US" href="https://nextjs.org/en-US" />
<link rel="alternate" hreflang="de-DE" href="https://nextjs.org/de-DE" />
<link rel="alternate" hreflang="en-US" href="https://acme.com/en-US" />
<link rel="alternate" hreflang="de-DE" href="https://acme.com/de-DE" />
<meta property="og:image" content="https://acme.com/og-image.png" />
```

Expand Down

0 comments on commit 0c9041e

Please sign in to comment.