diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index 4eb88d07..fbc03a4a 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -512,7 +512,7 @@ module Jekyll end def render_pages(payload) - pages.flatten.each do |page| + pages.each do |page| render_regenerated(page, payload) end end