quartz/plugins/emitters/404.tsx
@@ -31,7 +31,7 @@ async getDependencyGraph(_ctx, _content, _resources) { return new DepGraph<FilePath>() }, async emit(ctx, _content, resources): Promise<FilePath[]> { async *emit(ctx, _content, resources) { const cfg = ctx.cfg.configuration const slug = "404" as FullSlug @@ -55,14 +55,12 @@ allFiles: [], } return [ await write({ yield write({ ctx, content: renderPage(cfg, slug, componentData, opts, externalResources), slug, ext: ".html", }), ] }) }, } }