Fix meta pages
This commit is contained in:
parent
85cebdb7e9
commit
e6ec5f31de
|
@ -44,11 +44,10 @@ module Middleman
|
|||
data = @resource.data
|
||||
props['Data'] = data.inspect unless data.empty?
|
||||
|
||||
meta = @resource.metadata
|
||||
options = meta[:options]
|
||||
options = @resource.options
|
||||
props['Options'] = options.inspect unless options.empty?
|
||||
|
||||
locals = meta[:locals].keys
|
||||
locals = @resource.locals.keys
|
||||
props['Locals'] = locals.join(', ') unless locals.empty?
|
||||
|
||||
props
|
||||
|
|
Loading…
Reference in a new issue