id: eaaa6c17-40a0-4b35-b208-f5f8bb3eacc9 title: og:image is relative (needs public origin for scrapers) state: closed labels:
- ui assignees: [] milestone: null created: 2026-10-27T17:24:52.591244847Z updated: 2026-10-27T17:45:41.834059171Z
What
og:image is emitted as a relative URL (/og.png) in src/layout.rs.
Impact
Many social scrapers require an absolute URL; without --public-origin the preview image may be ignored. With a Pages project origin, it should be absolute.
Fix
When public_origin is set, emit <public_origin>/og.png and make og:url absolute too; otherwise keep the relative fallback and document the limitation. Escape/validate the origin as today.