-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ignore some environments #25
Comments
Dear friends of fast Jekyll websites, the latest version of the compress layout allows to ignore it in some environments. You can use it since Jekyll 2.1. ExampleSo you do not want to compress the HTML while developing the website on your local machine.
compress_html:
ignore:
envs: [local] Of course you can define multiple environments to ignore.
Thank you for making the web faster: @bbBobbyEarl, @kleinfreund, @pbfy0, @TuckerWhitehouse, @robinpoort, @dhutchison, @seabre, @Phlow, @freecates, @parkr |
@penibelst I don't think you meant to include me in your thank you... :) |
@TuckerWhitehouse I included you, because you compress several websites with my layout. |
@penibelst Testing this right now. I've set the environment variable on the user level here (Windows 7), but |
Well, was missing the obvious here. Setting the Jekyll environment variable on Windows works with It works like a charm. Very nice, @penibelst. |
@kleinfreund Glad to hear it works on your machine. |
See jekyll/jekyll#2417
The text was updated successfully, but these errors were encountered: