From 60017164ad5841e3e88fbdb7d16ccc40577336df Mon Sep 17 00:00:00 2001
From: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Date: Sun, 07 Jan 2024 19:35:52 +0000
Subject: [PATCH] chore: add my garden 😃 (#672)
---
quartz/components/Breadcrumbs.tsx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/components/Breadcrumbs.tsx b/quartz/components/Breadcrumbs.tsx
index a0b8cf5..175f6f3 100644
--- a/quartz/components/Breadcrumbs.tsx
+++ b/quartz/components/Breadcrumbs.tsx
@@ -104,7 +104,7 @@
}
// Add current file to crumb (can directly use frontmatter title)
- if (options.showCurrentPage) {
+ if (options.showCurrentPage && slugParts.at(-1) === "") {
crumbs.push({
displayName: fileData.frontmatter!.title,
path: "",
--
Gitblit v1.10.0