File tree Expand file tree Collapse file tree 3 files changed +11
-14
lines changed
Expand file tree Collapse file tree 3 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ date: 2025-07-28
66tags : []
77comments : false
88---
9- # Home
9+ # Welcome to 🌲
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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" >
9292export type SharedLayout = Pick < FullPageLayout , "head" | "header" | "footer" | "afterBody" >
You can’t perform that action at this time.
0 commit comments