Move thread crawling from post.erb into thread.erb