Skip to content

Commit 9e13b51

Browse files
committed
Quartz sync: May 18, 2025, 10:48 AM
1 parent 3358bb0 commit 9e13b51

File tree

5 files changed

+28
-213
lines changed

5 files changed

+28
-213
lines changed

content/hi/note.md

Lines changed: 0 additions & 198 deletions
This file was deleted.
File renamed without changes.

content/test/note.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ date: 2025-05-01
99
---
1010

1111

12+
# Quartz Frontmatter
1213
``` frontmatter
1314
title: Title of the page
1415
description: Description of the page used for link previews.
@@ -21,6 +22,7 @@ tags:
2122
draft: true
2223
date: 2025-05-01
2324
```
25+
2426
# Callout
2527
> [!note]
2628
---
@@ -117,6 +119,8 @@ date: 2025-05-01
117119
##### This is a heading 5
118120
###### This is a heading 6
119121

122+
# Markdown Syntax
123+
120124
| Style | Syntax | Example | Output |
121125
| ---------------------- | ---------------------- | ---------------------------------------- | -------------------------------------- |
122126
| Bold | `** **` or `__ __` | `**Bold text**` | **Bold text** |

quartz.layout.ts

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ import * as Component from "./quartz/components"
55
export const sharedPageComponents: SharedLayout = {
66
head: Component.Head(),
77
header: [],
8-
afterBody: [],
8+
afterBody: [
9+
Component.Comments({
10+
provider: 'giscus',
11+
options: {
12+
repo: 'jcodeyoma/codeyoma.github.io',
13+
repoId: 'R_kgDOOraRoA',
14+
category: 'General',
15+
categoryId: 'DIC_kwDOOraRoM4CqR8o',
16+
}
17+
}),
18+
],
919
footer: Component.Footer({
1020
links: {
1121
"Blog source": "https://github.com/codeyoma/codeyoma.github.io",
@@ -64,14 +74,14 @@ export const defaultListPageLayout: PageLayout = {
6474
{ Component: Component.Darkmode() },
6575
],
6676
}),
67-
// Component.Explorer(),
68-
Component.Explorer({
69-
mapFn: (node) => {
70-
if (node.isFolder) {
71-
node.displayName = "📁 " + node.displayName
72-
}
73-
},
74-
})
77+
Component.Explorer(),
78+
// Component.Explorer({
79+
// mapFn: (node) => {
80+
// if (node.isFolder) {
81+
// node.displayName = "📁 " + node.displayName
82+
// }
83+
// },
84+
// })
7585
],
7686
right: [],
7787
}

quartz/components/Explorer.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default ((userOpts?: Partial<Options>) => {
9494
<line x1="4" x2="20" y1="18" y2="18" />
9595
</svg>
9696
</button>
97-
{/* <button
97+
<button
9898
type="button"
9999
class="title-button explorer-toggle desktop-explorer"
100100
data-mobile={false}
@@ -115,15 +115,14 @@ export default ((userOpts?: Partial<Options>) => {
115115
>
116116
<polyline points="6 9 12 15 18 9"></polyline>
117117
</svg>
118-
</button> */}
119-
<button
120-
type="button"
121-
class="title-button desktop-explorer"
118+
</button>
119+
{/* <div
120+
class="title-button desktop-explorer"
122121
data-mobile={false}
123122
aria-expanded={true}
124123
>
125124
<h2>{opts.title ?? i18n(cfg.locale).components.explorer.title}</h2>
126-
</button>
125+
</div> */}
127126

128127
<div class="explorer-content" aria-expanded={false}>
129128
<OverflowList class="explorer-ul" />

0 commit comments

Comments
 (0)