Open kylekirkby opened 2 years ago
Possibly an issue with this file? https://github.com/untra/polyglot/blob/master/lib/jekyll/polyglot/patches/jekyll/static_file.rb
Is there an update to this issue?
I do not encounter this issue, I'm using both plugins and images do show up on translated blog post. Here is my working code, sorry it's a mess, it's my first time trying Jekyll: https://codeberg.org/jimbo/web/src/commit/d9a5add6c516e315c8123e5eba765d9ab923a576d720a91078cc434e103444d2
Hi @untra ,
We're using the jekyll_picture_tag plugin to generate webp images for our sites. With the addition of
jekyll-polyglot
this has broken. Jekyll_picture_tag places the generated images inside theassets/images
of the output site folder as the site is building. When the site build ends, it appears that jekyll-polylgot is removing all of these generated images and simply replacing the folder assets/images folder that exists in the base of the repo.Any ideas how we can stop this happening?
As a work-around I've had to set the output folder for generated images to a folder at the root of the repo (outside of the build folder). This then gets copied in as expected.