Skip to content

Commit 8a69794

Browse files
committed
Quartz sync: May 21, 2025, 12:22 PM
1 parent 17c73c9 commit 8a69794

File tree

7 files changed

+346
-312
lines changed

7 files changed

+346
-312
lines changed

content/index.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: This blog is an excerpt from my Obsidian notes.
33
title: Hello Again!
44
created: 2025-05-18
5-
modified: 2025-05-20
5+
modified: 2025-05-21
66
comments: "false"
77
---
88

@@ -25,14 +25,17 @@ comments: "false"
2525
- prefix of `🗺️`
2626
- MOC file
2727
- Index file
28-
- Hotkeys
29-
- Full-text search
30-
- `cmd / ctrl` + `k`
31-
- tag search
32-
- start with `#`
33-
- `cmd / ctrl` + `shift` + `k`
34-
- Graph view
35-
- `cmd / ctrl` + `g`
36-
37-
# Markdown Guide
38-
- [[- Guideline|🗺️ - Guideline]]
28+
- Explorer
29+
- Clicking the `>`
30+
- *toggles the folder open or closed*
31+
- Clicking the `name`
32+
- *opens the index file*
33+
- Full-text search
34+
- `cmd / ctrl` + `k`
35+
- tag search
36+
- start with `#`
37+
- `cmd / ctrl` + `shift` + `k`
38+
- Graph view
39+
- `cmd / ctrl` + `g`
40+
- Markdown Guide
41+
- [[- Guideline|🗺️ - Guideline]]

quartz.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const config: QuartzConfig = {
4040
dark: "#2b2b2b",
4141
secondary: "#284b63",
4242
tertiary: "#c27ba0",
43+
primary: "#FF7369",
44+
italic: "#81c8db",
4345
highlight: "rgba(143, 159, 169, 0.15)",
4446
textHighlight: "#fff23688",
4547
},
@@ -51,6 +53,8 @@ const config: QuartzConfig = {
5153
dark: "#ebebec",
5254
secondary: "#7b97aa",
5355
tertiary: "#c27ba0",
56+
primary: "#FF7369",
57+
italic: "#81c8db",
5458
highlight: "rgba(143, 159, 169, 0.15)",
5559
textHighlight: "#b3aa0288",
5660
},

quartz/plugins/emitters/404.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const NotFoundPage: QuartzEmitterPlugin = () => {
3939
slug,
4040
text: notFound,
4141
description: notFound,
42-
frontmatter: { title: notFound, tags: [] },
42+
frontmatter: { title: notFound, tags: [], comments: false },
4343
})
4444
const externalResources = pageResources(path, resources)
4545
const componentData: QuartzComponentProps = {

quartz/plugins/emitters/folderPage.tsx

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
joinSegments,
1414
pathToRoot,
1515
simplifySlug,
16+
unSluggify
1617
} from "../../util/path"
1718
import { defaultListPageLayout, sharedPageComponents } from "../../../quartz.layout"
1819
import { FolderContent } from "../../components"
@@ -66,18 +67,21 @@ function computeFolderInfo(
6667
): Record<SimpleSlug, ProcessedContent> {
6768
// Create default folder descriptions
6869
const folderInfo: Record<SimpleSlug, ProcessedContent> = Object.fromEntries(
69-
[...folders].map((folder) => [
70-
folder,
71-
defaultProcessedContent({
72-
slug: joinSegments(folder, "index") as FullSlug,
73-
frontmatter: {
74-
// title: `${i18n(locale).pages.folderContent.folder}: ${folder}`,
75-
title: "",
76-
tags: [],
77-
comments: false,
78-
},
79-
}),
80-
]),
70+
[...folders].map((folder) => {
71+
const lastSlash = folder.lastIndexOf("/")
72+
return [
73+
folder,
74+
defaultProcessedContent({
75+
slug: joinSegments(folder, "index") as FullSlug,
76+
frontmatter: {
77+
// title: `${i18n(locale).pages.folderContent.folder}: ${unSluggify(folder.slice(folder.lastIndexOf("/")))}`,
78+
title: `${i18n(locale).pages.folderContent.folder}: ${lastSlash === -1 ? folder : unSluggify(folder.slice(folder.lastIndexOf("/")))}`,
79+
tags: [],
80+
comments: false,
81+
},
82+
}),
83+
]
84+
}),
8185
)
8286

8387
// Update with actual content if available

quartz/styles/custom.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,7 @@ footer {
206206
padding-bottom: 1rem;
207207
}
208208
}
209+
210+
strong {
211+
color: var(--tertiary);
212+
}

0 commit comments

Comments
 (0)