diff --git a/lib/jekyll/filters.rb b/lib/jekyll/filters.rb index 50cfea48..0478eeff 100644 --- a/lib/jekyll/filters.rb +++ b/lib/jekyll/filters.rb @@ -252,7 +252,7 @@ module Jekyll end def hash_property(hash, property) - return item_property(hash, property) + return hash[property] if hash.respond_to?('[]'.freeze) hash[property] elsif hash.respond_to?(property)