mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Don't read the collection if it's the data collection
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user