From 2fdc8129b675d4e9090ba214a5a36646e630c817 Mon Sep 17 00:00:00 2001
From: Michael Thomason <mthomason@gmail.com>
Date: Sat, 01 Nov 2025 10:22:29 +0000
Subject: [PATCH] fix(components): prevent infinite recursion from circular transcludes (#2187)
---
docs/features/backlinks.md | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/docs/features/backlinks.md b/docs/features/backlinks.md
index f558f4a..6862720 100644
--- a/docs/features/backlinks.md
+++ b/docs/features/backlinks.md
@@ -9,6 +9,7 @@
## Customization
- Removing backlinks: delete all usages of `Component.Backlinks()` from `quartz.layout.ts`.
+- Hide when empty: hide `Backlinks` if given page doesn't contain any backlinks (default to `true`). To disable this, use `Component.Backlinks({ hideWhenEmpty: false })`.
- Component: `quartz/components/Backlinks.tsx`
- Style: `quartz/components/styles/backlinks.scss`
- Script: `quartz/components/scripts/search.inline.ts`
--
Gitblit v1.10.0