use cover instead of preview of coverSrc

This commit is contained in:
tmshv committed 2020-03-11 13:38:50 +03:00
1 parent a4d245007e
commit b7f3bbbcef
9 files changed
+72 -58

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ export const getStaticProps = async (ctx: any) => {
const breadcrumbSize = page?.breadcrumb?.length ?? 0
const breadcrumb = breadcrumbSize < 2 ? null : page.breadcrumb
const meta = (new MetaBuilder())
.setImage(page.preview)
.setImage(page.cover)
.setTitle(page.title)
.setDescription(description)
.build()