From 6e3484411495987a1a78c55c714a45e921dda372 Mon Sep 17 00:00:00 2001
From: Mats Fangohr <83273529+MatsFangohr@users.noreply.github.com>
Date: Tue, 02 Jan 2024 16:03:05 +0000
Subject: [PATCH] feat: embed webp images (#666)
---
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