quartz/plugins/emitters/contentPage.tsx
@@ -94,9 +94,8 @@ return graph }, async emit(ctx, content, resources): Promise<FilePath[]> { async *emit(ctx, content, resources) { const cfg = ctx.cfg.configuration const fps: FilePath[] = [] const allFiles = content.map((c) => c[1].data) let containsIndex = false @@ -118,14 +117,12 @@ } const content = renderPage(cfg, slug, componentData, opts, externalResources) const fp = await write({ yield write({ ctx, content, slug, ext: ".html", }) fps.push(fp) } if (!containsIndex && !ctx.argv.fastRebuild) { @@ -135,8 +132,6 @@ ), ) } return fps }, } }