From bcde0bd6082706a55228b2ab5958ed9245250639 Mon Sep 17 00:00:00 2001 From: Chris Van Pelt Date: Sun, 23 Nov 2008 14:54:49 -0800 Subject: [PATCH] Removed the transform from initialize to convertable right after the liquid template has been parsed --- lib/jekyll/post.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index 0d8eb716..2ca23ffe 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -32,7 +32,8 @@ module Jekyll self.process(name) self.read_yaml(base, name) - self.transform + #Removed to avoid munging of liquid tags, replaced in convertible.rb#48 + #self.transform end # Spaceship is based on Post#date @@ -82,8 +83,10 @@ module Jekyll # Returns [] def related_posts(posts) self.class.lsi ||= begin + puts "Running the classifier... this could take a while." lsi = Classifier::LSI.new - posts.each { |x| lsi.add_item(x) } + posts.each { |x| $stdout.print(".");$stdout.flush;lsi.add_item(x) } + puts "" lsi end