From 940050f5ba0ff44d5f1824a07868909d28b56214 Mon Sep 17 00:00:00 2001
From: oldwinter
Date: Thu, 11 Apr 2024 00:26:03 +0800
Subject: [PATCH] q
---
quartz.config.ts | 2 +-
quartz.layout.ts | 7 +++----
quartz/components/Footer.tsx | 4 ++--
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/quartz.config.ts b/quartz.config.ts
index 3b99849d3..6fa685680 100644
--- a/quartz.config.ts
+++ b/quartz.config.ts
@@ -52,7 +52,7 @@ const config: QuartzConfig = {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
- priority: ["frontmatter", "filesystem"],
+ priority: ["frontmatter", "git", "filesystem"],
}),
Plugin.Latex({ renderEngine: "katex" }),
Plugin.SyntaxHighlighting({
diff --git a/quartz.layout.ts b/quartz.layout.ts
index 59bc8af3f..fba6a3e06 100644
--- a/quartz.layout.ts
+++ b/quartz.layout.ts
@@ -7,8 +7,7 @@ export const sharedPageComponents: SharedLayout = {
header: [],
footer: Component.Footer({
links: {
- GitHub: "https://github.com/jackyzha0/quartz",
- "Discord Community": "https://discord.gg/cRFFHYye7t",
+ GitHub: "https://github.com/oldwinter/dg3",
},
}),
}
@@ -27,7 +26,7 @@ export const defaultContentPageLayout: PageLayout = {
Component.Search(),
Component.Darkmode(),
Component.DesktopOnly(Component.Explorer()),
- Component.RecentNotes({ limit: 5 }),
+ Component.DesktopOnly(Component.RecentNotes({ limit: 5 })),
],
right: [
Component.Graph(),
@@ -45,7 +44,7 @@ export const defaultListPageLayout: PageLayout = {
Component.Search(),
Component.Darkmode(),
Component.DesktopOnly(Component.Explorer()),
- Component.RecentNotes({ limit: 5 }),
+ Component.DesktopOnly(Component.RecentNotes({ limit: 5 })),
],
right: [],
}
diff --git a/quartz/components/Footer.tsx b/quartz/components/Footer.tsx
index 076c37874..6f0c3ef58 100644
--- a/quartz/components/Footer.tsx
+++ b/quartz/components/Footer.tsx
@@ -14,10 +14,10 @@ export default ((opts?: Options) => {
return (
*/}
{Object.entries(links).map(([text, link]) => (
-