mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2026-06-03 21:10:34 +00:00
a1a9b5233d
Add complete category system that integrates with Obsidian's wiki-linked category frontmatter. Categories appear as pills on pages and link directly to category notes (not aggregation pages). Features: - Parse [[Page Name]] syntax from category frontmatter - Display category pills styled like tags - Link directly to category notes - Integrate with graph view connections - Enable bidirectional backlinks - Preserve case in category slugs Implementation: - Added extractWikiLinks() to frontmatter transformer - Created CategoryList component for pill rendering - Modified links transformer to include categories in links array - Updated contentIndex to export category metadata - Added i18n strings for category UI elements - Set includeEmptyFiles: true to show empty category pages in graph Files modified: - quartz/plugins/transformers/frontmatter.ts - quartz/plugins/transformers/links.ts - quartz/plugins/emitters/contentIndex.tsx - quartz/components/CategoryList.tsx (new) - quartz/components/pages/CategoryContent.tsx (new) - quartz/plugins/emitters/categoryPage.tsx (new) - quartz/i18n/locales/en-US.ts - quartz/i18n/locales/definition.ts - quartz/components/index.ts - quartz.layout.ts - quartz.config.ts - README.md (updated with Quartz updater documentation) Security: Comprehensive privacy review confirms NO information leaks from private folder. All ignore patterns working correctly. Docs: Added CUSTOMIZATIONS.md with complete feature documentation, implementation details, and privacy audit results. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
58 lines
1.4 KiB
TypeScript
58 lines
1.4 KiB
TypeScript
import Content from "./pages/Content"
|
|
import TagContent from "./pages/TagContent"
|
|
import CategoryContent from "./pages/CategoryContent"
|
|
import FolderContent from "./pages/FolderContent"
|
|
import NotFound from "./pages/404"
|
|
import ArticleTitle from "./ArticleTitle"
|
|
import Darkmode from "./Darkmode"
|
|
import ReaderMode from "./ReaderMode"
|
|
import Head from "./Head"
|
|
import PageTitle from "./PageTitle"
|
|
import ContentMeta from "./ContentMeta"
|
|
import Spacer from "./Spacer"
|
|
import TableOfContents from "./TableOfContents"
|
|
import Explorer from "./Explorer"
|
|
import TagList from "./TagList"
|
|
import CategoryList from "./CategoryList"
|
|
import Graph from "./Graph"
|
|
import Backlinks from "./Backlinks"
|
|
import Search from "./Search"
|
|
import Footer from "./Footer"
|
|
import DesktopOnly from "./DesktopOnly"
|
|
import MobileOnly from "./MobileOnly"
|
|
import RecentNotes from "./RecentNotes"
|
|
import Breadcrumbs from "./Breadcrumbs"
|
|
import Comments from "./Comments"
|
|
import Flex from "./Flex"
|
|
import ConditionalRender from "./ConditionalRender"
|
|
|
|
export {
|
|
ArticleTitle,
|
|
Content,
|
|
TagContent,
|
|
CategoryContent,
|
|
FolderContent,
|
|
Darkmode,
|
|
ReaderMode,
|
|
Head,
|
|
PageTitle,
|
|
ContentMeta,
|
|
Spacer,
|
|
TableOfContents,
|
|
Explorer,
|
|
TagList,
|
|
CategoryList,
|
|
Graph,
|
|
Backlinks,
|
|
Search,
|
|
Footer,
|
|
DesktopOnly,
|
|
MobileOnly,
|
|
RecentNotes,
|
|
NotFound,
|
|
Breadcrumbs,
|
|
Comments,
|
|
Flex,
|
|
ConditionalRender,
|
|
}
|