[Sync] Page build cleanup
This commit is contained in:
1 parent
6eae73bff3
commit
6bb912f34a
1 file changed
-5
@@ -120,11 +120,6 @@ class Page(Model):
|
|||||||
async def build(self, **kwargs):
|
async def build(self, **kwargs):
|
||||||
sizes = kwargs['sizes']
|
sizes = kwargs['sizes']
|
||||||
|
|
||||||
# 'title': title_from_html(body),
|
|
||||||
# 'images': images_from_html(body)
|
|
||||||
|
|
||||||
print('build', self.file)
|
|
||||||
|
|
||||||
markdown_post = self.get_param('content')
|
markdown_post = self.get_param('content')
|
||||||
post, images, documents = await create_post(self.provider, self.get_param('folder'), markdown_post, sizes)
|
post, images, documents = await create_post(self.provider, self.get_param('folder'), markdown_post, sizes)
|
||||||
self.title = title_from_html(post)
|
self.title = title_from_html(post)
|
||||||
|
|||||||
Reference in new issue
Block a user