Skip to content

Commit 507e97c

Browse files
committed
Update Blog
1 parent 35eabab commit 507e97c

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ date: 2025-07-28
66
tags: []
77
comments: false
88
---
9-
# Home
9+
# Welcome to 🌲

quartz.layout.ts

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ export const sharedPageComponents: SharedLayout = {
2424
head: Component.Head(),
2525
header: [],
2626
afterBody: [
27+
Component.ConditionalRender({
28+
component: Component.RecentNotes({
29+
showTags: false,
30+
limit: 10,
31+
filter: (page) => page.slug !== "index",
32+
}),
33+
condition: (page) => page.fileData.slug == "index",
34+
}),
2735
Component.DesktopOnly(
2836
Component.Adsense({
2937
clientId: "ca-pub-1829817529831781",
@@ -81,18 +89,8 @@ export const defaultContentPageLayout: PageLayout = {
8189
],
8290
right: [
8391
Component.DesktopOnly(Component.TableOfContents()),
84-
Component.Backlinks(),
8592
Component.Graph(),
86-
],
87-
afterBody: [
88-
Component.ConditionalRender({
89-
component: Component.RecentNotes({
90-
showTags: false,
91-
limit: 10,
92-
filter: (page) => page.slug !== "index",
93-
}),
94-
condition: (page) => page.fileData.slug == "index",
95-
}),
93+
Component.Backlinks(),
9694
]
9795
}
9896

@@ -124,5 +122,4 @@ export const defaultListPageLayout: PageLayout = {
124122
})),
125123
],
126124
right: [],
127-
afterBody: []
128125
}

quartz/cfg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ export interface FullPageLayout {
8888
footer: QuartzComponent
8989
}
9090

91-
export type PageLayout = Pick<FullPageLayout, "beforeBody" | "left" | "right" | "afterBody">
91+
export type PageLayout = Pick<FullPageLayout, "beforeBody" | "left" | "right">
9292
export type SharedLayout = Pick<FullPageLayout, "head" | "header" | "footer" | "afterBody">

0 commit comments

Comments
 (0)