mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
commit
1b2e59756e
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ def content_object_init(instance):
|
|||
instance._get_content = types.MethodType(_get_content, instance)
|
||||
|
||||
# extract out our summary
|
||||
if not hasattr(instance, '_summary'):
|
||||
if not hasattr(instance, '_summary') and instance._content is not None:
|
||||
content = instance._content
|
||||
begin_summary = -1
|
||||
end_summary = -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue