Avoid unnecessary duplication of pages array (#7272)

Merge pull request 7272
This commit is contained in:
Ashwin Maroli 2019-03-15 22:41:46 +05:30 committed by jekyllbot
parent 9b3e5f9fc0
commit da313bf883
1 changed files with 1 additions and 1 deletions

View File

@ -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