Don't let that render get you down.
This commit is contained in:
parent
75f49a751e
commit
a15a584136
|
@ -92,6 +92,10 @@ module Jekyll
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def render
|
||||||
|
config['render'] || Array.new
|
||||||
|
end
|
||||||
|
|
||||||
# Read Site data from disk and load it into internal data structures.
|
# Read Site data from disk and load it into internal data structures.
|
||||||
#
|
#
|
||||||
# Returns nothing.
|
# Returns nothing.
|
||||||
|
@ -387,7 +391,7 @@ module Jekyll
|
||||||
docs = Set.new
|
docs = Set.new
|
||||||
if collections
|
if collections
|
||||||
collections.each do |label, coll|
|
collections.each do |label, coll|
|
||||||
if config['render'].include?(label)
|
if render.include?(label)
|
||||||
docs = docs.merge(coll.docs)
|
docs = docs.merge(coll.docs)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue