From fac3ef796e7558d405418bc441054b1ae8b0f12a Mon Sep 17 00:00:00 2001 From: Aaron Pham Date: Sat, 3 Aug 2024 04:25:46 -0400 Subject: [PATCH] chore: only set this if not showCurrentPage is set. --- quartz/components/Breadcrumbs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/components/Breadcrumbs.tsx b/quartz/components/Breadcrumbs.tsx index 8fdfbfbd3..0a62ee30f 100644 --- a/quartz/components/Breadcrumbs.tsx +++ b/quartz/components/Breadcrumbs.tsx @@ -153,7 +153,7 @@ export default ((opts?: Partial) => { crumbs.push(crumb) } - if (isTagPath) { + if (isTagPath && !options.showCurrentPage) { crumbs.push({ displayName: slugParts.at(-1) ?? "", path: "" }) }