mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Don't try to be smarter than the computer. Pass Excerpt#to_liquid to its parent post.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user