forked from rc/aircox
logo; RelatedPost sync with related object
This commit is contained in:
@ -307,6 +307,8 @@ class Sections:
|
||||
"""
|
||||
@property
|
||||
def content (self):
|
||||
if not self.object.image:
|
||||
return ''
|
||||
return '<img src="{}" class="post_image">'.format(
|
||||
self.object.image.url
|
||||
)
|
||||
|
Reference in New Issue
Block a user