retrocompatibilidad
This commit is contained in:
parent
2a0279d669
commit
e0ce6700f7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue