Yard doc cleanup
This commit is contained in:
parent
1855745d8e
commit
2965e3709d
10 changed files with 40 additions and 27 deletions
|
@ -102,11 +102,11 @@ module Middleman::CoreExtensions::FrontMatter
|
|||
@_frontmatter_extension ||= FrontMatter.new(self)
|
||||
end
|
||||
|
||||
# Get the frontmatter for the given params
|
||||
# Get the frontmatter for a given path
|
||||
# @param [String] path
|
||||
# @return [Hash, nil]
|
||||
def frontmatter(*args)
|
||||
frontmatter_extension.data(*args)
|
||||
# @return [Hash]
|
||||
def frontmatter(path)
|
||||
frontmatter_extension.data(path)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue