.forge/issues/eaaa6c17-40a0-4b35-b208-f5f8bb3eacc9/issue.md 703 B 22 lines Raw

id: eaaa6c17-40a0-4b35-b208-f5f8bb3eacc9 title: og:image is relative (needs public origin for scrapers) state: closed labels:


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.

view raw