From c4cf0dcb022ff826433b63b8ff68830bb8503895 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 18 Jun 2023 17:47:07 +0000
Subject: [PATCH] local and global graph

---
 quartz.config.ts |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/quartz.config.ts b/quartz.config.ts
index 0c77c90..41d65a6 100644
--- a/quartz.config.ts
+++ b/quartz.config.ts
@@ -4,7 +4,6 @@
 
 const config: QuartzConfig = {
   configuration: {
-    siteTitle: "🪴 Quartz 4.0",
     enableSPA: true,
     ignorePatterns: ["private", "templates"],
     theme: {
@@ -58,16 +57,23 @@
       Plugin.AliasRedirects(),
       Plugin.ContentPage({
         head: Component.Head(),
-        header: [Component.PageTitle(), Component.Spacer(), Component.Darkmode()],
-        body: [
+        header: [
+          Component.PageTitle({ title: "🪴 Quartz 4.0" }),
+          Component.Spacer(),
+          Component.Darkmode()
+        ],
+        beforeBody: [
           Component.ArticleTitle(),
           Component.ReadingTime(),
           Component.TagList(),
-          Component.TableOfContents(),
-          Component.Content()
         ],
-        left: [],
-        right: [],
+        content: Component.Content(),
+        left: [
+        ],
+        right: [
+          Component.Graph(),
+          Component.TableOfContents(),
+        ],
         footer: []
       }),
       Plugin.ContentIndex(), // you can exclude this if you don't plan on using popovers, graph, or backlinks,

--
Gitblit v1.10.0