5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 22:55:46 +00:00

mensajito

This commit is contained in:
f 2018-07-23 12:40:48 -03:00
parent 9ab507c4f9
commit ba8ae50776
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -279,6 +279,7 @@ class Post
# Obtiene metadatos de forma recursiva
def get_front_matter(name)
# XXX retrocompatibilidad
name = name.to_s unless name.is_a? Array
@front_matter.dig(*name)
end