mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 14:13:38 +00:00
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
|
# Obtiene metadatos de forma recursiva
|
||||||
def get_front_matter(name)
|
def get_front_matter(name)
|
||||||
|
# XXX retrocompatibilidad
|
||||||
name = name.to_s unless name.is_a? Array
|
name = name.to_s unless name.is_a? Array
|
||||||
@front_matter.dig(*name)
|
@front_matter.dig(*name)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue