Fixes #1719
This commit is contained in:
parent
47d0e1cb7b
commit
b4a6a503b3
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue