Skip to content

Commit

Permalink
Layout modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickAmbrosso committed Jan 8, 2024
1 parent 21b7d2b commit 351ba54
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions quartz.layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const defaultContentPageLayout: PageLayout = {
useSavedState: false,
filterFn: (node) => {
// set containing names of everything you want to include
const include = new Set(["Musings","Reflections","Expeditions","_Transcendence","Showcase"])
const include = new Set(["_Musings","_Reflections","_Expeditions","_Transcendence","_Showcase"])
return include.has(node.name) // && !!node.file
},
// mapFn: (node) => {
Expand All @@ -46,11 +46,11 @@ export const defaultContentPageLayout: PageLayout = {
// },
sortFn: (a, b) => {
const nameOrderMap: Record<string, number> = {
"Musings": 100,
"Reflections": 200,
"Expeditions": 300,
"_Musings": 100,
"_Reflections": 200,
"_Expeditions": 300,
"_Transcendence": 400,
"Showcase": 500,
"_Showcase": 500,
}

let orderA = 0
Expand Down

0 comments on commit 351ba54

Please sign in to comment.