fix handling of number categories

This commit is contained in:
maul.esel 2013-05-10 14:07:23 +02:00
parent 528c94e481
commit eae3ae8479
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ module Jekyll
def populate_categories def populate_categories
if self.categories.empty? 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 end
self.categories.flatten! self.categories.flatten!
end end