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 Giant panda
Are you using the app router? If so, you have to use
metadata and generateMetadata in pages instead.3 Replies
Giant panda
Are you using the app router? If so, you have to use
metadata and generateMetadata in pages instead.Answer
HarlequinOP
awesome, thanks, my bad