Convertible#read_yaml should return self.data.

Broken in 4b108df3ab.
This commit is contained in:
Parker Moore
2015-04-11 15:42:58 -04:00
parent 0374ad2668
commit c76c4e478b

View File

@@ -60,6 +60,8 @@ module Jekyll
unless self.data.is_a?(Hash)
Jekyll.logger.abort_with "Fatal:", "Invalid YAML front matter in #{File.join(base, name)}"
end
self.data
end
# Transform the contents based on the content type.