Don't try to be smarter than the computer. Pass Excerpt#to_liquid to its parent post.

This commit is contained in:
Parker Moore 2013-07-14 04:22:34 +02:00
parent 21b52bbf70
commit d815c12571
1 changed files with 1 additions and 4 deletions

View File

@ -79,10 +79,7 @@ module Jekyll
# #
# Returns the representative Hash. # Returns the representative Hash.
def to_liquid def to_liquid
further_data = Hash[ATTRIBUTES_FOR_LIQUID.map { |attribute| post.to_liquid
[attribute, post.send(attribute)]
}]
further_data
end end
def to_s def to_s