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
父節點 f1a422dfff
當前提交 7be78de93a
共有 1 個檔案被更改,包括 3 行新增1 行删除

查看文件

@ -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.