From 88194ac348222f9e3deed92f6e149da23a644311 Mon Sep 17 00:00:00 2001
From: jeff <smartmu@gmail.com>
Date: Tue, 02 Jan 2024 18:49:14 +0000
Subject: [PATCH] feat: allow embedding youtube videos with the obsidian markdown syntax (#665)
---
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