Skip to content

Commit

Permalink
format and config
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Sep 16, 2023
1 parent be25340 commit c0ed491
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{json,yml,md,toml}]
[*.{json,yml,md,toml,ts}]
indent_style = space
indent_size = 2
3 changes: 2 additions & 1 deletion quartz.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config: QuartzConfig = {
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
code: "IBM Plex Mono",
code: "Fira Code",
},
colors: {
lightMode: {
Expand Down Expand Up @@ -67,6 +67,7 @@ const config: QuartzConfig = {
}),
Plugin.Assets(),
Plugin.Static(),
Plugin.NotFoundPage(),
],
},
}
Expand Down
6 changes: 5 additions & 1 deletion quartz.layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ export const defaultContentPageLayout: PageLayout = {
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
Component.DesktopOnly(Component.Explorer()),
],
right: [
Component.Graph(),
Component.DesktopOnly(Component.TableOfContents()),
Component.Backlinks(),
],
right: [Component.Graph(), Component.Backlinks()],
}

// components for pages that display lists of pages (e.g. tags or folders)
Expand Down

0 comments on commit c0ed491

Please sign in to comment.