retrocompatibilidad

This commit is contained in:
f 2018-07-20 13:43:09 -03:00
parent 2a0279d669
commit e0ce6700f7
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -276,6 +276,7 @@ class Post
# Obtiene metadatos de forma recursiva
def get_front_matter(name)
name = name.to_s if name.is_a? Symbol
@front_matter.dig(*name)
end