The mighty classifier --- reborn!!!!!

Use classifier-reborn v2.0 in place of classifier 1.3.
Code at https://github.com/jekyll/classifier-reborn
This commit is contained in:
Parker Moore
2014-08-10 16:45:03 -04:00
parent f84cd4e4ed
commit 4d8e335da1
3 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ module Jekyll
def initialize(post)
@post = post
@site = post.site
require 'classifier' if site.lsi
require 'classifier-reborn' if site.lsi
end
def build
@@ -27,7 +27,7 @@ module Jekyll
def build_index
self.class.lsi ||= begin
lsi = Classifier::LSI.new(:auto_rebuild => false)
lsi = ClassifierReborn::LSI.new(:auto_rebuild => false)
display("Populating LSI...")
site.posts.each do |x|