layer5
layer5 copied to clipboard
[Bug] Broken darkthumbnail image path in Docker Kanvas news post
Description
In src/collections/news/2026/2026-01-21-docker-kanvas-kubernetes-dominance/index.mdx, the frontmatter specifies:
thumbnail: ./docker-kanvas-infoq.webp
darkthumbnail: ./docker-kanvas-infoq.png
However, the file docker-kanvas-infoq.png does not exist in the post's directory (it was converted to docker-kanvas-infoq.webp previously). Because of this, darkthumbnail points to a non-existent file, preventing Gatsby's GraphQL image queries (gatsby-transformer-sharp) from resolving the dark thumbnail properly.
Steps to Reproduce
- Inspect
src/collections/news/2026/2026-01-21-docker-kanvas-kubernetes-dominance/index.mdx. - Check line 7:
darkthumbnail: ./docker-kanvas-infoq.png. - Check directory contents of
src/collections/news/2026/2026-01-21-docker-kanvas-kubernetes-dominance/; onlydocker-kanvas-infoq.webpexists.
Expected Behavior
darkthumbnail should point to ./docker-kanvas-infoq.webp so that the dark theme thumbnail resolves and renders correctly.
Environment:
- Host OS: macOS / Any
- Browser: Any