jekyll-cloudinary
jekyll-cloudinary copied to clipboard
Captions aren't shown in local-mode
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).