From 42640bceb57c450d5c2427bd2b449827468d0ede Mon Sep 17 00:00:00 2001
From: Paul Trotter <ptrotter1@users.noreply.github.com>
Date: Mon, 17 Jun 2024 05:33:28 +0000
Subject: [PATCH] Check link isExternal before adding target="_blank" (#1211)
---
quartz/plugins/emitters/404.tsx | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/quartz/plugins/emitters/404.tsx b/quartz/plugins/emitters/404.tsx
index f9d7a86..e4605cf 100644
--- a/quartz/plugins/emitters/404.tsx
+++ b/quartz/plugins/emitters/404.tsx
@@ -46,6 +46,7 @@
frontmatter: { title: notFound, tags: [] },
})
const componentData: QuartzComponentProps = {
+ ctx,
fileData: vfile.data,
externalResources,
cfg,
--
Gitblit v1.10.0