Remove unnecessary override of #read_yaml in Page.

This commit is contained in:
Parker Moore 2013-04-15 19:24:23 +02:00
parent f6f3aa6218
commit e7546a98f6
1 changed files with 0 additions and 11 deletions

View File

@ -23,17 +23,6 @@ module Jekyll
self.read_yaml(File.join(base, dir), name) self.read_yaml(File.join(base, dir), name)
end end
# Read the YAML frontmatter.
#
# base - The String path to the dir containing the file.
# name - The String filename of the file.
#
# Returns nothing.
def read_yaml(base, name)
super(base, name)
self.data
end
# The generated directory into which the page will be placed # The generated directory into which the page will be placed
# upon generation. This is derived from the permalink or, if # upon generation. This is derived from the permalink or, if
# permalink is absent, we be '/' # permalink is absent, we be '/'