Dynamic page Head tag not working
Answered
Harlequin posted this in #help-forum
HarlequinOP
[...post]
but neither do i see it in source nor in mybrowser as the title
<Head>
<title>{post?.meta?.title}</title>
<meta name="description" content={post?.meta?.description} />
</Head>
but neither do i see it in source nor in mybrowser as the title
Answered by Asian black bear
Are you using the app router? If so, you have to use
metadata
and generateMetadata
in pages instead.3 Replies
Asian black bear
Are you using the app router? If so, you have to use
metadata
and generateMetadata
in pages instead.Answer
HarlequinOP
awesome, thanks, my bad