Don't read the collection if it's the data collection
This commit is contained in:
父節點
f1a422dfff
當前提交
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.
|
||||||
|
|
載入中…
新增問題並參考