mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
Try item_property
This commit is contained in:
@@ -252,6 +252,7 @@ module Jekyll
|
||||
end
|
||||
|
||||
def hash_property(hash, property)
|
||||
return item_property(hash, property)
|
||||
if hash.respond_to?('[]'.freeze)
|
||||
hash[property]
|
||||
elsif hash.respond_to?(property)
|
||||
|
||||
Reference in New Issue
Block a user