mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
Both page.url AND page.inputPath are unreliable in eleventyComputed due to Eleventy 3.x parallel rendering (issue #3183). They return values from OTHER pages being processed concurrently, causing og:image meta tags to reference wrong OG images. Fix: compute ogSlug directly in base.njk from the permalink data value using existing Nunjucks filters (ogSlug, hasOgImage). permalink comes from frontmatter (per-file data) and is immune to cross-page contamination.