diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index 388c86c3..571d854d 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -261,7 +261,7 @@ module Jekyll puts "Starting the classifier..." lsi = Classifier::LSI.new(:auto_rebuild => false) $stdout.print(" Populating LSI... "); $stdout.flush - posts.each { |x| $stdout.print("."); $stdout.flush; lsi.add_item(x) } + self.site.posts.each { |x| $stdout.print("."); $stdout.flush; lsi.add_item(x) } $stdout.print("\n Rebuilding LSI index... ") lsi.build_index puts ""