jekyll-postfiles icon indicating copy to clipboard operation
jekyll-postfiles copied to clipboard

Doesn't work with jekyll 3.8.3

Open tillg opened this issue 6 years ago • 2 comments

I don't know if it's a version problem...

When building I get: Error: could not read file /Users/tgartner/git/playground_jekyll/_posts/2018-07-26-kids_daddeling/2018-07-26-kids_daddeling.jpg: invalid byte sequence in UTF-8 So obviously Jekyll is trying to interpret the jpg ?!

And it's not copied over into the post directory. Jekyll -v: jekyll 3.8.3

tillg avatar Aug 03 '18 14:08 tillg

@tillg Try to exclude the images by updating your _config.yml as -

exclude:
  - _posts/**/*.jpg
  - _posts/**/*.png
  - _posts/**/*.gif

kulbhushanchand avatar Aug 16 '18 11:08 kulbhushanchand

fyi: Had the same issue. This helped me out: https://github.com/nhoizey/jekyll-postfiles/issues/1#issuecomment-299209146 In short: rename your image files.

WimObiwan avatar Sep 23 '18 20:09 WimObiwan