Document: Only auto-generate the excerpt if it's not overridden

Fixes #4061
This commit is contained in:
Parker Moore 2015-10-26 16:08:19 -07:00
parent 5e425a99b4
commit e45b6f91e7
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ module Jekyll
populate_tags
if generate_excerpt?
data['excerpt'] = Jekyll::Excerpt.new(self)
data['excerpt'] ||= Jekyll::Excerpt.new(self)
end
end