dionarodrigues/iceberg-gatsby-multilang

Third language breaks a lot of things

Opened this issue · 1 comments

I added one more language to the Starter. It broke many things at once:

  • the second page in the Blogs returns 404
  • Blog posts mix up with pages like "contact" and "about"
  • some pictures don't load with blog posts while some do
  • there are multiple warnings during gatsby develop start phase - like "warn You can't use childImageSharp together with en.json — use publicURL instead. The childImageSharp portion of the query in this file will return null: undefined"

Not every error is easily reproducible; a restart of gatsby develop may change the behaviour.

After updating the gatsby remark relative images the images will break.. Currently using 0.3.0 version myself and if you are using netlify cms I noticed that I needed to do something like this with the images for blog thumbnails <img style={{ display: 'block', width: '100%', height: 'auto', }} src={/${image}} />
because the image path from cms is missing the /