How pass <link> elements with generateMetada ?
Unanswered
Long-legged ant posted this in #help-forum
Long-legged antOP
Hello, i need to post "images", and something like this
links: [
{
rel: 'preload',
href: '/',
as: 'image',
type: 'image/webp',
},
{
rel: 'preload',
href: '/',
as: 'image',
type: 'image/webp',
},
],
on the return of generateMetadata function but it's not working. I wanted to see a good exemple but I didn't find. Any idea ? Thank you !3 Replies
generateMetadata returns Metadata object
that whole page is documenting what u cann return within the object