Metadata Configuration in The Builder Box Codebase
metadata
object. This object typically includes at least a title
and description
.
app/layout.tsx
app/main/layout.tsx
app/(content)/blogs/page.tsx
app/(content)/privacy-policy/page.tsx
generateMetadata
generateMetadata
async function. This is useful for pages where the title, description, or OpenGraph data depend on fetched content.
app/(content)/blogs/[id]/page.tsx
metadata
export or the generateMetadata
function in the corresponding file.
app/layout.tsx
).metadata
object:generateMetadata
function (e.g., app/(content)/blogs/[id]/page.tsx
).Note: Only fields and patterns already present in the codebase are supported. For more options, refer to the Next.js Metadata docs.