Couple of fixes, specifically an issue with frontmatter layout setting
This commit is contained in:
parent
f0d781cce3
commit
2c058ee3de
4 changed files with 10 additions and 12 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue