mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This is an improvement for twitter card, if there's image present we could use `summary_large_image` to make the twitter card look better instead of using `summary` by default, so that users could benefit from the large image card display on twitter
15 lines
275 B
TypeScript
15 lines
275 B
TypeScript
export default function page() {
|
|
return 'twitter no image'
|
|
}
|
|
|
|
export const metadata = {
|
|
twitter: {
|
|
title: 'Twitter Title',
|
|
description: 'Twitter Description',
|
|
siteId: 'siteId',
|
|
creator: 'creator',
|
|
creatorId: 'creatorId',
|
|
images: undefined,
|
|
},
|
|
}
|