From 028bcec62c3ca019a96783f17eaee1ecce6e092b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 07 Aug 2023 00:09:29 +0000
Subject: [PATCH] mobile fixes, fix bug when linking to anchor on home, docs

---
 quartz/components/PageTitle.tsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/quartz/components/PageTitle.tsx b/quartz/components/PageTitle.tsx
index 00b2300..f6319ef 100644
--- a/quartz/components/PageTitle.tsx
+++ b/quartz/components/PageTitle.tsx
@@ -5,7 +5,11 @@
   const title = cfg?.pageTitle ?? "Untitled Quartz"
   const slug = canonicalizeServer(fileData.slug!)
   const baseDir = pathToRoot(slug)
-  return <h1 class="page-title"><a href={baseDir}>{title}</a></h1>
+  return (
+    <h1 class="page-title">
+      <a href={baseDir}>{title}</a>
+    </h1>
+  )
 }
 
 PageTitle.css = `

--
Gitblit v1.10.0