From eae3ae847976524aaa26450c6c4f5f03fac54055 Mon Sep 17 00:00:00 2001 From: "maul.esel" Date: Fri, 10 May 2013 14:07:23 +0200 Subject: [PATCH] fix handling of number categories --- lib/jekyll/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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