Skip to content

Commit

Permalink
Quartz sync: Apr 1, 2024, 12:10 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiitulip committed Apr 1, 2024
1 parent f04a61b commit 27170aa
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions quartz.layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ export const sharedPageComponents: SharedLayout = {
head: Component.Head(),
header: [
Component.PageTitle(),
Component.Search({
enablePreview: false,
}),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
],
footer: Component.Footer({
Expand All @@ -22,17 +21,15 @@ export const sharedPageComponents: SharedLayout = {
export const defaultContentPageLayout: PageLayout = {
beforeBody: [
Component.Breadcrumbs(),
Component.ArticleTitle(),
Component.ContentMeta(),
Component.TagList(),
],
left: [
Component.ArticleTitle(),
Component.MobileOnly(Component.Spacer()),
Component.DesktopOnly(Component.Explorer()),
],
right: [
Component.DesktopOnly(Component.TableOfContents({})),
Component.Backlinks(),
Component.Graph({
localGraph: {
showTags: false,
Expand All @@ -41,17 +38,17 @@ export const defaultContentPageLayout: PageLayout = {
showTags: false,
}
}),
Component.DesktopOnly(Component.TableOfContents({})),
Component.Backlinks(),
],
}

// components for pages that display lists of pages (e.g. tags or folders)
export const defaultListPageLayout: PageLayout = {
beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
beforeBody: [Component.Breadcrumbs(), Component.ContentMeta()],
left: [
Component.PageTitle(),
Component.ArticleTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
Component.DesktopOnly(Component.Explorer()),
],
right: [],
Expand Down

0 comments on commit 27170aa

Please sign in to comment.