Changeset 61514f2 in Klonkt for src/services

Timestamp:
06/30/2026 01:01:58 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d5aa7c8
Parents:
4d63c36
Message:

fix(seo): make og:image / twitter:image / JSON-LD image absolute

A post cover arrives as a relative /media/... path. Mastodon resolves it against the page URL,
but the OGP spec wants an absolute URL and stricter scrapers (WhatsApp, Signal, some fediverse
clients) won't resolve a relative one → no preview image. Absolutize _socialImage against the
canonical origin so every link/preview gets the real cover. (The AP Note image was already
absolute.)

  • src/views/shell.ejs — absolutize _socialImage when it's a root-relative path

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.