mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 17:28:29 -05:00
Hey girl, i heard you like YAML.
This commit is contained in:
@@ -181,7 +181,11 @@ module Jekyll
|
||||
next if File.symlink?(path) && safe
|
||||
|
||||
key = sanitize_filename(File.basename(entry, '.*'))
|
||||
(self.data[key] = Jekyll::Document.new(path, { site: self, collection: data_collection })).read
|
||||
|
||||
doc = Jekyll::Document.new(path, { site: self, collection: data_collection })
|
||||
doc.read
|
||||
|
||||
self.data[key] = doc.data
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user