From b33f13ccaf4ec14a94ee0ee467dda04cf4981d00 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 01 Jan 2024 22:20:34 +0000
Subject: [PATCH] fix: dont show last page if folder
---
docs/features/breadcrumbs.md | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/docs/features/breadcrumbs.md b/docs/features/breadcrumbs.md
index 9f6b645..a241aac 100644
--- a/docs/features/breadcrumbs.md
+++ b/docs/features/breadcrumbs.md
@@ -16,10 +16,11 @@
```typescript title="quartz.layout.ts"
Component.Breadcrumbs({
- spacerSymbol: ">", // symbol between crumbs
+ spacerSymbol: "❯", // symbol between crumbs
rootName: "Home", // name of first/root element
- resolveFrontmatterTitle: false, // wether to resolve folder names through frontmatter titles (more computationally expensive)
- hideOnRoot: true, // wether to hide breadcrumbs on root `index.md` page
+ resolveFrontmatterTitle: true, // whether to resolve folder names through frontmatter titles
+ hideOnRoot: true, // whether to hide breadcrumbs on root `index.md` page
+ showCurrentPage: true, // wether to display the current page in the breadcrumbs
})
```
@@ -29,7 +30,7 @@
Want to customize it even more?
-- Removing graph view: delete all usages of `Component.Breadcrumbs()` from `quartz.layout.ts`.
+- Removing breadcrumbs: delete all usages of `Component.Breadcrumbs()` from `quartz.layout.ts`.
- Component: `quartz/components/Breadcrumbs.tsx`
- Style: `quartz/components/styles/breadcrumbs.scss`
- Script: inline at `quartz/components/Breadcrumbs.tsx`
--
Gitblit v1.10.0