From 42052ebb5fae0d41d2530fb02ed3e2f441af3539 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 05 Sep 2025 18:32:01 +0000
Subject: [PATCH] chore(deps): bump the production-dependencies group across 1 directory with 9 updates (#2106)

---
 quartz/components/renderPage.tsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/components/renderPage.tsx b/quartz/components/renderPage.tsx
index 19324f5..e43189d 100644
--- a/quartz/components/renderPage.tsx
+++ b/quartz/components/renderPage.tsx
@@ -75,7 +75,7 @@
       const classNames = (node.properties?.className ?? []) as string[]
       if (classNames.includes("transclude")) {
         const inner = node.children[0] as Element
-        const transcludeTarget = inner.properties["data-slug"] as FullSlug
+        const transcludeTarget = (inner.properties["data-slug"] ?? slug) as FullSlug
         const page = componentData.allFiles.find((f) => f.slug === transcludeTarget)
         if (!page) {
           return

--
Gitblit v1.10.0