fix handling of number categories
This commit is contained in:
parent
528c94e481
commit
eae3ae8479
|
@ -76,7 +76,7 @@ module Jekyll
|
|||
|
||||
def populate_categories
|
||||
if self.categories.empty?
|
||||
self.categories = self.data.pluralized_array('category', 'categories').map {|c| c.downcase}
|
||||
self.categories = self.data.pluralized_array('category', 'categories').map {|c| c.to_s.downcase}
|
||||
end
|
||||
self.categories.flatten!
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue