About Some meta data field in App router #63043
Unanswered
makhdum530
asked this question in
App Router
Replies: 1 comment
-
just try this: export async function generateMetadata({ params }) {
return {
title: '...',
other: {
'msapplication-TileColor': '#E61B47',
'msapplication-TileImage': `${'images/tileimage.jpg'}`,
'geo.region': 'IS', // as an example, I am using the Island (in your case, it will be dynamic).
'geo.placename': 'Lindau',
'geo.position': '64.465585, -18.408346',
}
}
} It will generate what you wanted. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how can we set this meta data using generateMetadata in app router in next js 14
Beta Was this translation helpful? Give feedback.
All reactions