From fbb4d7e39928d7e4c7d6cdea3566e00f58f1a0b5 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 29 Jan 2024 20:45:37 +0000
Subject: [PATCH] chore(deps): bump workerpool from 8.0.0 to 9.1.0 (#757)
---
quartz/plugins/emitters/404.tsx | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/quartz/plugins/emitters/404.tsx b/quartz/plugins/emitters/404.tsx
index cd079a0..58ae59a 100644
--- a/quartz/plugins/emitters/404.tsx
+++ b/quartz/plugins/emitters/404.tsx
@@ -7,6 +7,7 @@
import { sharedPageComponents } from "../../../quartz.layout"
import { NotFound } from "../../components"
import { defaultProcessedContent } from "../vfile"
+import { write } from "./helpers"
export const NotFoundPage: QuartzEmitterPlugin = () => {
const opts: FullPageLayout = {
@@ -25,7 +26,7 @@
getQuartzComponents() {
return [Head, Body, pageBody, Footer]
},
- async emit(ctx, _content, resources, emit): Promise<FilePath[]> {
+ async emit(ctx, _content, resources): Promise<FilePath[]> {
const cfg = ctx.cfg.configuration
const slug = "404" as FullSlug
@@ -48,7 +49,8 @@
}
return [
- await emit({
+ await write({
+ ctx,
content: renderPage(slug, componentData, opts, externalResources),
slug,
ext: ".html",
--
Gitblit v1.10.0