quartz
quartz copied to clipboard
`/tags/[tag_name]` does not display breadcrumbs when tag page was generated without index.md
Describe the bug
/tags/[tag_name] does not show Breadcrumbs.
To Reproduce
// components for pages that display lists of pages (e.g. tags or folders)
export const defaultListPageLayout: PageLayout = {
beforeBody: [
Component.Breadcrumbs(),
Component.ArticleTitle(),
Component.ContentMeta()
],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Flex({
components: [
{
Component: Component.Search(),
grow: true,
},
{ Component: Component.Darkmode() },
],
}),
Component.RecentNotes(
{
title: "Recent Notes",
count: 5,
linkToMore: "posts/",
filter: (node) => !node.filePath?.endsWith("index.md"), // exclude index page
}
),
// Component.Explorer(),
],
right: [],
}
Expected behavior
Breadcrumbs show on /[folder]/ and /tags/[tag].
Real behaviour
It show on /[folder]/ but not on /tags/[tag].
Desktop (please complete the following information):
- Quartz Version: v4.5.2
nodeVersion: v24npmversion: 11.6.0- OS: macOS Tahoe 26.1
- Browser: Chrome 141.0.7390.123 (Official Build) (arm64)
Additional Information
This bug was also observed on official website.
Has breadcrumbs?
- tags: yes
- tags/component: yes
- tags/feature: no
- tags/feature/emitter: no