From a3b62013650f09afd11c4e58675f495bbc085569 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 06 Mar 2025 00:45:02 +0000
Subject: [PATCH] chore(deps): bump the production-dependencies group with 6 updates (#1804)
---
quartz.layout.ts | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/quartz.layout.ts b/quartz.layout.ts
index f47b224..f45da0c 100644
--- a/quartz.layout.ts
+++ b/quartz.layout.ts
@@ -1,10 +1,11 @@
-import { PageLayout } from "./quartz/cfg"
+import { PageLayout, SharedLayout } from "./quartz/cfg"
import * as Component from "./quartz/components"
// components shared across all pages
-export const sharedPageComponents = {
+export const sharedPageComponents: SharedLayout = {
head: Component.Head(),
header: [],
+ afterBody: [],
footer: Component.Footer({
links: {
GitHub: "https://github.com/jackyzha0/quartz",
@@ -15,25 +16,35 @@
// components for pages that display a single page (e.g. a single note)
export const defaultContentPageLayout: PageLayout = {
- beforeBody: [Component.ArticleTitle(), Component.ReadingTime(), Component.TagList()],
+ beforeBody: [
+ Component.Breadcrumbs(),
+ Component.ArticleTitle(),
+ Component.ContentMeta(),
+ Component.TagList(),
+ ],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
- Component.DesktopOnly(Component.TableOfContents()),
+ Component.Explorer(),
],
- right: [Component.Graph(), Component.Backlinks()],
+ right: [
+ Component.Graph(),
+ 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.ArticleTitle()],
+ beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
+ Component.Explorer(),
],
right: [],
}
--
Gitblit v1.10.0