Don't read the collection if it's the data collection
This commit is contained in:
parent
f1a422dfff
commit
7be78de93a
|
@ -220,7 +220,9 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns nothing.
|
# Returns nothing.
|
||||||
def read_collections
|
def read_collections
|
||||||
collections.each { |_, collection| collection.read }
|
collections.each do |_, collection|
|
||||||
|
collection.read unless collection.label.eql?("data")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Run each of the Generators.
|
# Run each of the Generators.
|
||||||
|
|
Loading…
Reference in New Issue