You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Setting metadataBase in createMetadata is not working in page.tsx. To fix this, I am calling createMetadata once in the root layout, and then in the page.tsx I just change the title and description with export const metadata: Metadata = {, not by using createMetadata again.` What is best practice here?
next-forge version
I am using version 3
To Reproduce
Steps to reproduce the behavior:
Go to (home)/page.tsx
Set metadataBase
Check in browser dev tools
See that opengraph-image is not set
Expected behavior
I expect for the opengraph-image to be set. Right now
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
The text was updated successfully, but these errors were encountered:
Describe the bug
Setting
metadataBase
increateMetadata
is not working inpage.tsx
. To fix this, I am callingcreateMetadata
once in the root layout, and then in thepage.tsx
I just change the title and description withexport const metadata: Metadata = {
, not by usingcreateMetadata
again.` What is best practice here?next-forge version
I am using version 3
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect for the opengraph-image to be set. Right now
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: