From 7be78de93a272db1e01b40691edb5f7a18f75d43 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 24 Apr 2014 12:17:00 -0400 Subject: [PATCH] Don't read the collection if it's the data collection --- lib/jekyll/site.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index 88c96e1e..7a7a27f5 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -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.