Merge pull request #378 from bhollis/frontmatter

Properly handle pages with no frontmatter
This commit is contained in:
Thomas Reynolds 2012-04-24 09:52:43 -07:00
commit 163270c5d0

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