docs on making plugins

This commit is contained in:
Jacky Zhao
2023-08-10 21:16:07 -07:00
parent 99ce8dcd72
commit cf730e31fb
11 changed files with 330 additions and 43 deletions

View File

@@ -74,9 +74,7 @@ export const FolderPage: QuartzEmitterPlugin<FullPageLayout> = (userOpts) => {
}
const content = renderPage(slug, componentData, opts, externalResources)
const fp = (file.data.slug! + ".html") as FilePath
await emit({
const fp = await emit({
content,
slug: file.data.slug!,
ext: ".html",