Added support for the summary end marker configuration

This commit is contained in:
(GalaxyMaster) 2020-04-11 15:35:26 +10:00
commit e412657581
2 changed files with 3 additions and 1 deletions

View file

@ -390,7 +390,8 @@ class Content(object):
return self.content
return truncate_html_words(self.content,
self.settings['SUMMARY_MAX_LENGTH'])
self.settings['SUMMARY_MAX_LENGTH'],
self.settings['SUMMARY_END_MARKER'])
@property
def summary(self):