Skip to content

fix: restore the share image on the DSOC pages - #97

Merged
ZeeshanAdilButt merged 1 commit into
mainfrom
fix/dsoc-metadata
Nov 12, 2026
Merged

ZeeshanAdilButt merged 1 commit into
mainfrom
fix/dsoc-metadata

Conversation

@ZeeshanAdilButt

Copy link
Copy Markdown
Member

Why

The crawl after #96 showed /dsoc/projects without an og:image. In #96 I gave the DSOC layouts an openGraph object holding only the address, and Next replaces the parent's object instead of merging it, so the image was dropped.

What changes

Both DSOC layouts use withSocial, the helper every other page uses, which sets the address, title, description and image together.

Checked

Type check passes. The live crawl will be rerun after deploy.

Setting only the address in openGraph replaced the whole object, so
/dsoc/projects lost its og:image in the previous change. Both DSOC layouts now
use the shared helper, which fills the address, title, description and image
together.
@ZeeshanAdilButt
ZeeshanAdilButt merged commit 87258fe into main Nov 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant