Don't try to be smarter than the computer. Pass Excerpt#to_liquid to its parent post.
This commit is contained in:
parent
21b52bbf70
commit
d815c12571
|
@ -79,10 +79,7 @@ module Jekyll
|
|||
#
|
||||
# Returns the representative Hash.
|
||||
def to_liquid
|
||||
further_data = Hash[ATTRIBUTES_FOR_LIQUID.map { |attribute|
|
||||
[attribute, post.send(attribute)]
|
||||
}]
|
||||
further_data
|
||||
post.to_liquid
|
||||
end
|
||||
|
||||
def to_s
|
||||
|
|
Loading…
Reference in New Issue