feat: posts cover

This commit is contained in:
DIYgod
2022-09-16 02:33:30 +01:00
parent b0fb6a64a8
commit 86f4496d75
6 changed files with 49 additions and 14 deletions
+1
View File
@@ -131,6 +131,7 @@ const expandPage = async (page: Note, render: boolean) => {
mime_type: "text/html",
}
}
page.cover = rendered.cover
}
page.slug =
page.attributes?.find((a) => a.trait_type === "xlog_slug")?.value ||