We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c274a05 commit b17fed1Copy full SHA for b17fed1
_plugins/kramdown_enhancer.rb
@@ -149,7 +149,7 @@ def relative_url(input)
149
Jekyll::Hooks.register :site, :post_read do |site|
150
KramdownEnhancer.baseurl = site.config["baseurl"]
151
webp_list = []
152
- webp_enabled = ENV["WEBP"] == "enabled" || ENV["CI"] == "true"
+ webp_enabled = defined?(WebP)
153
site.each_site_file do |file|
154
KramdownEnhancer.file[file.relative_path] = file
155
if file.is_a?(Jekyll::StaticFile)
0 commit comments