Properly handle pages with no frontmatter
This commit is contained in:
parent
83178031d2
commit
776ce4d5ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue