mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
The extractFirstImage filter picks up <img> tags from the full rendered page content, including sidebar widgets (like recent post thumbnails). This caused og:image to reference sidebar OG images from OTHER posts instead of falling through to the __OG_IMAGE_PLACEHOLDER__ that the og-fix transform resolves from outputPath. Only ogPhoto and image (from frontmatter) are now used as explicit image sources. All other cases use the placeholder resolved by the og-fix transform.