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
|
return "<img src=\"#{image_dest_url}\" #{attr_string} #{img_attr} #{width_height} crossorigin=\"anonymous\" />" |
ends with a return but the part with
figure is checked below (L316 and following).
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
jekyll-cloudinary/lib/jekyll/cloudinary.rb
Line 272 in b42e906
figureis checked below (L316 and following).