fixup! las etiquetas y categorías siempre son un array
This commit is contained in:
parent
9a3be0978a
commit
cb87b049fb
1 changed files with 2 additions and 2 deletions
|
@ -137,11 +137,11 @@ class Post
|
|||
end
|
||||
|
||||
def tags
|
||||
get_front_matter 'tags' || []
|
||||
get_front_matter('tags') || []
|
||||
end
|
||||
|
||||
def categories
|
||||
get_front_matter 'categories' || []
|
||||
get_front_matter('categories') || []
|
||||
end
|
||||
alias :category :categories
|
||||
|
||||
|
|
Loading…
Reference in a new issue