mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
chore: updated plugins
This commit is contained in:
parent
ced81b1489
commit
d872922f06
93
docs/navigation.base
Normal file
93
docs/navigation.base
Normal file
@ -0,0 +1,93 @@
|
||||
filters:
|
||||
and:
|
||||
- file.ext == "md"
|
||||
formulas:
|
||||
doc_type: |
|
||||
if(file.hasTag("plugin/transformer"), "transformer",
|
||||
if(file.hasTag("plugin/emitter"), "emitter",
|
||||
if(file.hasTag("plugin/filter"), "filter",
|
||||
if(file.hasTag("component"), "component",
|
||||
if(file.inFolder("features"), "feature",
|
||||
if(file.inFolder("advanced"), "advanced",
|
||||
if(file.inFolder("plugins"), "plugin", "guide")))))))
|
||||
last_modified: file.mtime.relative()
|
||||
section: |
|
||||
if(file.inFolder("plugins"), "plugins",
|
||||
if(file.inFolder("features"), "features",
|
||||
if(file.inFolder("advanced"), "advanced",
|
||||
if(file.inFolder("tags"), "tags", "core"))))
|
||||
properties:
|
||||
title:
|
||||
displayName: Title
|
||||
formula.doc_type:
|
||||
displayName: Type
|
||||
formula.last_modified:
|
||||
displayName: Updated
|
||||
formula.section:
|
||||
displayName: Section
|
||||
views:
|
||||
- type: table
|
||||
name: All Documentation
|
||||
groupBy:
|
||||
property: formula.section
|
||||
direction: ASC
|
||||
order:
|
||||
- file.name
|
||||
- title
|
||||
- formula.doc_type
|
||||
- formula.section
|
||||
- formula.last_modified
|
||||
sort:
|
||||
- property: formula.doc_type
|
||||
direction: ASC
|
||||
- property: file.name
|
||||
direction: ASC
|
||||
columnSize:
|
||||
file.name: 185
|
||||
note.title: 268
|
||||
formula.doc_type: 146
|
||||
formula.section: 276
|
||||
- type: table
|
||||
name: Plugins
|
||||
filters:
|
||||
or:
|
||||
- file.hasTag("plugin/transformer")
|
||||
- file.hasTag("plugin/emitter")
|
||||
- file.hasTag("plugin/filter")
|
||||
groupBy:
|
||||
property: formula.doc_type
|
||||
direction: ASC
|
||||
order:
|
||||
- file.name
|
||||
- title
|
||||
- formula.doc_type
|
||||
- formula.last_modified
|
||||
- type: table
|
||||
name: Components & Features
|
||||
filters:
|
||||
or:
|
||||
- file.hasTag("component")
|
||||
- file.inFolder("features")
|
||||
order:
|
||||
- file.name
|
||||
- title
|
||||
- formula.doc_type
|
||||
- formula.last_modified
|
||||
- type: list
|
||||
name: Recently Updated
|
||||
order:
|
||||
- file.name
|
||||
- formula.last_modified
|
||||
limit: 15
|
||||
- type: table
|
||||
name: Core Guides
|
||||
filters:
|
||||
not:
|
||||
- file.inFolder("plugins")
|
||||
- file.inFolder("features")
|
||||
- file.inFolder("advanced")
|
||||
- file.inFolder("tags")
|
||||
order:
|
||||
- file.name
|
||||
- title
|
||||
- formula.last_modified
|
||||
@ -55,9 +55,6 @@ plugins:
|
||||
delimiters: "---"
|
||||
language: yaml
|
||||
order: 5
|
||||
layout:
|
||||
position: beforeBody
|
||||
priority: 15
|
||||
- source: github:quartz-community/created-modified-date
|
||||
enabled: true
|
||||
options:
|
||||
|
||||
@ -52,7 +52,14 @@ const config: QuartzConfig = {
|
||||
},
|
||||
plugins: {
|
||||
transformers: [
|
||||
// FrontMatter processing now handled by note-properties plugin (via quartz.config.yaml)
|
||||
ExternalPlugin.NoteProperties({
|
||||
includeAll: false,
|
||||
includedProperties: ["description", "tags", "aliases"],
|
||||
excludedProperties: [],
|
||||
hidePropertiesView: false,
|
||||
delimiters: "---",
|
||||
language: "yaml",
|
||||
}),
|
||||
ExternalPlugin.CreatedModifiedDate({
|
||||
priority: ["frontmatter", "git", "filesystem"],
|
||||
}),
|
||||
@ -90,6 +97,7 @@ const config: QuartzConfig = {
|
||||
],
|
||||
pageTypes: [
|
||||
ExternalPlugin.CanvasPage(),
|
||||
ExternalPlugin.BasesPage(),
|
||||
ExternalPlugin.ContentPage(),
|
||||
ExternalPlugin.FolderPage(),
|
||||
ExternalPlugin.TagPage(),
|
||||
@ -132,6 +140,11 @@ const config: QuartzConfig = {
|
||||
"github:quartz-community/content-index",
|
||||
"github:quartz-community/og-image",
|
||||
"github:quartz-community/canvas-page",
|
||||
"github:quartz-community/note-properties",
|
||||
"github:quartz-community/bases-page",
|
||||
"github:quartz-community/breadcrumbs",
|
||||
"github:quartz-community/spacer",
|
||||
"github:quartz-community/recent-notes",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ const pageTitleComponent = Plugin.PageTitle()
|
||||
const darkmodeComponent = Plugin.Darkmode()
|
||||
const readerModeComponent = Plugin.ReaderMode()
|
||||
const breadcrumbsComponent = Plugin.Breadcrumbs()
|
||||
const notePropertiesComponent = Plugin.NotePropertiesComponent()
|
||||
|
||||
export const layout: {
|
||||
defaults: Partial<FullPageLayout>
|
||||
@ -47,6 +48,7 @@ export const layout: {
|
||||
condition: (page) => page.fileData.slug !== "index",
|
||||
}),
|
||||
articleTitleComponent,
|
||||
notePropertiesComponent,
|
||||
contentMetaComponent,
|
||||
tagListComponent,
|
||||
],
|
||||
@ -70,7 +72,12 @@ export const layout: {
|
||||
|
||||
// Folder listing pages
|
||||
folder: {
|
||||
beforeBody: [breadcrumbsComponent, articleTitleComponent, contentMetaComponent],
|
||||
beforeBody: [
|
||||
breadcrumbsComponent,
|
||||
articleTitleComponent,
|
||||
notePropertiesComponent,
|
||||
contentMetaComponent,
|
||||
],
|
||||
left: [
|
||||
pageTitleComponent,
|
||||
Component.MobileOnly(Component.Spacer()),
|
||||
@ -90,7 +97,12 @@ export const layout: {
|
||||
|
||||
// Tag listing pages
|
||||
tag: {
|
||||
beforeBody: [breadcrumbsComponent, articleTitleComponent, contentMetaComponent],
|
||||
beforeBody: [
|
||||
breadcrumbsComponent,
|
||||
articleTitleComponent,
|
||||
notePropertiesComponent,
|
||||
contentMetaComponent,
|
||||
],
|
||||
left: [
|
||||
pageTitleComponent,
|
||||
Component.MobileOnly(Component.Spacer()),
|
||||
@ -117,7 +129,7 @@ export const layout: {
|
||||
|
||||
// Canvas pages — expansive layout, no sidebars
|
||||
canvas: {
|
||||
beforeBody: [breadcrumbsComponent, articleTitleComponent],
|
||||
beforeBody: [breadcrumbsComponent, articleTitleComponent, notePropertiesComponent],
|
||||
left: [
|
||||
pageTitleComponent,
|
||||
Component.MobileOnly(Component.Spacer()),
|
||||
|
||||
@ -154,8 +154,8 @@
|
||||
"note-properties": {
|
||||
"source": "github:quartz-community/note-properties",
|
||||
"resolved": "https://github.com/quartz-community/note-properties.git",
|
||||
"commit": "75ba1049957293bb726672fa5f1b06bb43cf4ad1",
|
||||
"installedAt": "2026-02-23T08:37:39.042Z"
|
||||
"commit": "a67025816e6410254c9210405daeeba1da6b1142",
|
||||
"installedAt": "2026-02-23T18:37:33.084Z"
|
||||
},
|
||||
"obsidian-flavored-markdown": {
|
||||
"source": "github:quartz-community/obsidian-flavored-markdown",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user