[Sync] Page build cleanup

This commit is contained in:
Roman Timashev committed 2017-10-16 03:20:03 +03:00
1 parent 6eae73bff3
commit 6bb912f34a
1 file changed
-5
-5
View File
@@ -120,11 +120,6 @@ class Page(Model):
async def build(self, **kwargs):
sizes = kwargs['sizes']
# 'title': title_from_html(body),
# 'images': images_from_html(body)
print('build', self.file)
markdown_post = self.get_param('content')
post, images, documents = await create_post(self.provider, self.get_param('folder'), markdown_post, sizes)
self.title = title_from_html(post)