Experiment with Hamster
This commit is contained in:
parent
55c5a46440
commit
22ce56492f
9 changed files with 57 additions and 120 deletions
|
@ -87,10 +87,9 @@ module Middleman
|
|||
end
|
||||
|
||||
# Data about this resource, populated from frontmatter or extensions.
|
||||
# @return [HashWithIndifferentAccess]
|
||||
Contract IsA['Middleman::Util::HashWithIndifferentAccess']
|
||||
# @return [IndifferentHash]
|
||||
Contract IsA['Middleman::Util::IndifferentHash']
|
||||
def data
|
||||
# TODO: Should this really be a HashWithIndifferentAccess?
|
||||
::Middleman::Util.recursively_enhance(metadata[:page])
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue