5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-06 13:45:46 +00:00

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