Don't read the collection if it's the data collection

This commit is contained in:
Parker Moore
2014-04-24 12:17:00 -04:00
parent f1a422dfff
commit 7be78de93a

View File

@@ -220,7 +220,9 @@ module Jekyll
#
# Returns nothing.
def read_collections
collections.each { |_, collection| collection.read }
collections.each do |_, collection|
collection.read unless collection.label.eql?("data")
end
end
# Run each of the Generators.