Skip to content

Fix og:image dimensions metadata mismatch in opposition motions articles#734

Merged
pethers merged 2 commits intomain-a63e2522f5845fd5from
copilot/sub-pr-715-again
Mar 2, 2026
Merged

Fix og:image dimensions metadata mismatch in opposition motions articles#734
pethers merged 2 commits intomain-a63e2522f5845fd5from
copilot/sub-pr-715-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

All 14 opposition motions articles declared og:image:width/height as 1200×630 while the actual referenced image (cia-icon-140.webp) is 140×140, causing incorrect social preview rendering.

Changes

  • All 14 language variants (en, sv, da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh): corrected og:image:width/og:image:height to match actual image dimensions
<!-- Before -->
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">

<!-- After -->
<meta property="og:image:width" content="140">
<meta property="og:image:height" content="140">

Aligns with the established pattern in other article series (e.g. government-propositions-*.html).


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…on motions articles

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add opposition motions articles 2026-03-02 Fix og:image dimensions metadata mismatch in opposition motions articles Mar 2, 2026
@pethers pethers marked this pull request as ready for review March 2, 2026 12:30
@pethers pethers merged commit 8e348f3 into main-a63e2522f5845fd5 Mar 2, 2026
@pethers pethers deleted the copilot/sub-pr-715-again branch March 2, 2026 12:30
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.

2 participants