Fix meta pages

This commit is contained in:
Ben Hollis 2014-05-30 23:32:48 -07:00
parent 85cebdb7e9
commit e6ec5f31de

View file

@ -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