Couple of fixes, specifically an issue with frontmatter layout setting

This commit is contained in:
Thomas Reynolds 2012-05-22 19:11:54 -07:00
parent f0d781cce3
commit 2c058ee3de
4 changed files with 10 additions and 12 deletions

View file

@ -35,7 +35,7 @@ module Middleman::CoreExtensions
data = {}
%w(layout layout_engine).each do |opt|
data[opt.to_sym] = fmdata[opt] if fmdata[opt]
data[opt.to_sym] = fmdata[opt] unless fmdata[opt].nil?
end
{ :options => data, :page => fmdata }