Files
Jiachi Liu 75831c08e8 [metadata]: add pinterest meta tag (#76988)
### What
Adds support for Pinterest's Rich Pin Data meta tag, while
future-proofing for additional Pinterest tags.

This currently works like so

```js
pinterest: {
  richPin: true
}
  ```
 And would resolve to:
 
```html
 <meta property="pinterest-rich-pin" content="true" />
 ```

x-ref: https://help.pinterest.com/en/business/article/rich-pins

Closes #70873

---------

Co-authored-by: Dominik Koch <dominik@koch-bautechnik.de>
2025-03-11 18:30:23 +01:00

17 lines
274 B
TypeScript

export default function page() {
return 'facebook'
}
export async function generateMetadata() {
const metadata = {
facebook: {
appId: '12345678',
admins: ['120', '122', '124'],
},
pinterest: {
richPin: true,
},
}
return metadata
}