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

Captions aren't shown in local-mode

Open gamue opened this issue 5 years ago • 0 comments

When using the non-production-mode (only_prod: true) the captions aren't written to the page, they only appear on the page when compiling for production, which is not very good when developing/writing posts.

Reason is that https://github.com/nhoizey/jekyll-cloudinary/blob/b42e906a11e6631bd90acd7033986468edf56a2f/lib/jekyll/cloudinary.rb#L272 ends with a return but the part with figure is checked below (L316 and following).

gamue avatar Oct 04 '20 14:10 gamue