Don't let that render get you down.

This commit is contained in:
Parker Moore 2014-04-02 16:47:31 -04:00
parent 75f49a751e
commit a15a584136
1 changed files with 5 additions and 1 deletions

View File

@ -92,6 +92,10 @@ module Jekyll
end
end
def render
config['render'] || Array.new
end
# Read Site data from disk and load it into internal data structures.
#
# Returns nothing.
@ -387,7 +391,7 @@ module Jekyll
docs = Set.new
if collections
collections.each do |label, coll|
if config['render'].include?(label)
if render.include?(label)
docs = docs.merge(coll.docs)
end
end