Properly handle pages with no frontmatter

This commit is contained in:
Ben Hollis 2012-04-23 22:07:27 -07:00
parent 83178031d2
commit 776ce4d5ae

View file

@ -184,7 +184,7 @@ module Middleman::CoreExtensions::FrontMatter
if @local_data.has_key?(path.to_s)
@local_data[path.to_s]
else
{}.freeze
[ ::Middleman::Util.recursively_enhance({}).freeze, nil ]
end
end