-
Notifications
You must be signed in to change notification settings - Fork 1
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
only_prod doesn't work as expected #14
Comments
Thanks, it's nice having such positive feedback!
Does it allow you to set
That's strange, |
Might be because of I'm using Win10, not that big issue though
Yes, it actually directly sets it directly at the build call. When checking the code and compare it with other plugins and themes I'm wondering why you are not using |
Ok
Indeed.
Good question. I guess I mixed the environment variable declaration and the environment check inside the code… 🤔 I have to read https://jekyllrb.com/docs/configuration/environments/ and fix this… |
From jekyll-cloudinary created by gamue: nhoizey#84
First of all, thanks for the great plugin 👍
When I set
only_prod: true
the prod-code which gets created doesn't contain the cloudinary tags and uses the local images, which forces me to touch that setting every time I do changes on the page.For compilation I'm using https://github.com/helaili/jekyll-action
Another minor thing: With
only_prod: false
the local images aren't getting loaded using 127.0.0.1:4000, which shows up as a link in the console. I need to change it to localhost:4000 that they are shown.The text was updated successfully, but these errors were encountered: