This commit is contained in:
Thomas Reynolds 2016-01-10 16:47:15 -08:00
parent 47d0e1cb7b
commit b4a6a503b3
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ master
* Fixed `asset_hash` when path has query string or #hashes
* Fix new extension template
* Don't parse frontmatter on ignored files.
* Fix displaying frontmatter on `/__middleman/sitemap`
# 4.0.0

View file

@ -42,7 +42,7 @@ module Middleman
props['Source File'] = @resource.file_descriptor ? @resource.file_descriptor[:full_path].to_s.sub(/^#{Regexp.escape(ENV['MM_ROOT'] + '/')}/, '') : 'Dynamic'
data = @resource.data
props['Data'] = data.inspect unless data.empty?
props['Data'] = data.to_hash(symbolize_keys: true).inspect unless data.empty?
options = @resource.options
props['Options'] = options.inspect unless options.empty?