# File lib/jekyll/site.rb, line 48 def reset self.time = if self.config['time'] Time.parse(self.config['time'].to_s) else Time.now end self.layouts = {} self.posts = [] self.pages = [] self.static_files = [] self.categories = Hash.new { |hash, key| hash[key] = [] } self.tags = Hash.new { |hash, key| hash[key] = [] } if !self.limit_posts.nil? && self.limit_posts < 1 raise ArgumentError, "Limit posts must be nil or >= 1" end end