layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Bug] Broken darkthumbnail image path in Docker Kanvas news post

Open ayushbuilds-code opened this issue 3 weeks ago • 0 comments

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

  1. Inspect src/collections/news/2026/2026-01-21-docker-kanvas-kubernetes-dominance/index.mdx.
  2. Check line 7: darkthumbnail: ./docker-kanvas-infoq.png.
  3. Check directory contents of src/collections/news/2026/2026-01-21-docker-kanvas-kubernetes-dominance/; only docker-kanvas-infoq.webp exists.

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

ayushbuilds-code avatar Nov 08 '26 17:11 ayushbuilds-code