diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index 12a75ebf..085bfaea 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -104,7 +104,7 @@ module Jekyll end end - def plugin_allowed?(name) + def plugin_allowed?(gem_name) whitelist.include?(gem_name) || !self.safe end