mensajito
This commit is contained in:
parent
9ab507c4f9
commit
ba8ae50776
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue