Try item_property
This commit is contained in:
parent
d8e68bc0e1
commit
9ba89b9ab1
|
@ -252,6 +252,7 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
def hash_property(hash, property)
|
def hash_property(hash, property)
|
||||||
|
return item_property(hash, property)
|
||||||
if hash.respond_to?('[]'.freeze)
|
if hash.respond_to?('[]'.freeze)
|
||||||
hash[property]
|
hash[property]
|
||||||
elsif hash.respond_to?(property)
|
elsif hash.respond_to?(property)
|
||||||
|
|
Loading…
Reference in New Issue