# File lib/jekyll/site.rb, line 191 def render self.posts.each do |post| post.render(self.layouts, site_payload) end self.pages.each do |page| page.render(self.layouts, site_payload) end self.categories.values.map { |ps| ps.sort! { |a, b| b <=> a } } self.tags.values.map { |ps| ps.sort! { |a, b| b <=> a } } rescue Errno::ENOENT => e # ignore missing layout dir end