Unverified Commit b91c7cec authored by Dominik Koch's avatar Dominik Koch Committed by GitHub

docs: add Pinterest Rich Pins metadata example (#77025)

In 75831c08 I added support for the
Pinterest rich pin meta tag, this change adds it to the
[generateMetadata](https://nextjs.org/docs/app/api-reference/functions/generate-metadata)
documentation.

- [x] Ran `pnpm prettier-fix` before commiting
parent 8941f8a1
......@@ -991,6 +991,22 @@ export const metadata = {
<meta property="fb:admins" content="87654321" />
```
### `pinterest`
You can enable or disable [Pinterest Rich Pins](https://developers.pinterest.com/docs/web-features/rich-pins-overview/) on your webpage.
```jsx filename="layout.js | page.js"
export const metadata = {
pinterest: {
richPin: true,
},
}
```
```html filename="<head> output" hideLineNumbers
<meta name="pinterest-rich-pin" content="true" />
```
### `other`
All metadata options should be covered using the built-in support. However, there may be custom metadata tags specific to your site, or brand new metadata tags just released. You can use the `other` option to render any custom metadata tag.
......
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