5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 05:01:41 +00:00

fixup! las etiquetas y categorías siempre son un array

This commit is contained in:
f 2018-05-08 18:33:15 -03:00
parent 9a3be0978a
commit cb87b049fb
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -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