Skip to content
Browse files

back to front conditional

  • Loading branch information...
1 parent 2cb8c12 commit dfa0c403543062fbf38c849e9be0f14c66373be3 @lparry committed Jan 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/image_cacher.rb
View
2 plugins/image_cacher.rb
@@ -6,7 +6,7 @@
module Jekyll
class ImageCacher < PostFilter
def post_render(post)
- if post.ext.match('html|textile|markdown|md|haml|slim|xml') && !ENV["ONLINE_IMAGES"].nil?
+ if post.ext.match('html|textile|markdown|md|haml|slim|xml') && ENV["ONLINE_IMAGES"].nil?
post.content = ImageFetcher.cache_images(post.content)
end
end

0 comments on commit dfa0c40

Please sign in to comment.
Something went wrong with that request. Please try again.