diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index 571d854d..9d10a5cb 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -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