Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Captions aren't shown in local-mode #8

Open
mavaddat opened this issue Oct 27, 2021 · 0 comments
Open

Captions aren't shown in local-mode #8

mavaddat opened this issue Oct 27, 2021 · 0 comments

Comments

@mavaddat
Copy link
Owner

From jekyll-cloudinary created by gamue: nhoizey#91

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant