Skip to content

Commit

Permalink
Avoid unnecessary duplication of pages array (#7272)
Browse files Browse the repository at this point in the history
Merge pull request 7272
  • Loading branch information
ashmaroli authored and jekyllbot committed Mar 15, 2019
1 parent 9b3e5f9 commit da313bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll/site.rb
Expand Up @@ -512,7 +512,7 @@ def render_docs(payload)
end

def render_pages(payload)
pages.flatten.each do |page|
pages.each do |page|
render_regenerated(page, payload)
end
end
Expand Down

0 comments on commit da313bf

Please sign in to comment.