From 05e6f05a5067ca1e6f5d5f793353182d8804c860 Mon Sep 17 00:00:00 2001
From: Anton Bulakh <him@necauq.ua>
Date: Fri, 27 Dec 2024 04:05:35 +0000
Subject: [PATCH] feat(backlinks): hide by default when empty (#1674)

---
 quartz/components/types.ts |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/quartz/components/types.ts b/quartz/components/types.ts
index d322ea9..a6b90d3 100644
--- a/quartz/components/types.ts
+++ b/quartz/components/types.ts
@@ -3,8 +3,10 @@
 import { QuartzPluginData } from "../plugins/vfile"
 import { GlobalConfiguration } from "../cfg"
 import { Node } from "hast"
+import { BuildCtx } from "../util/ctx"
 
 export type QuartzComponentProps = {
+  ctx: BuildCtx
   externalResources: StaticResources
   fileData: QuartzPluginData
   cfg: GlobalConfiguration

--
Gitblit v1.10.0