From cfb7d1232e005736dc549fb24ec5a02d53fc5206 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 20 Aug 2023 07:52:49 +0000
Subject: [PATCH] docs: update notes for tag and folder listings
---
quartz/components/PageTitle.tsx | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/quartz/components/PageTitle.tsx b/quartz/components/PageTitle.tsx
index c1e74f3..c327547 100644
--- a/quartz/components/PageTitle.tsx
+++ b/quartz/components/PageTitle.tsx
@@ -1,10 +1,9 @@
-import { canonicalizeServer, pathToRoot } from "../util/path"
+import { pathToRoot } from "../util/path"
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
function PageTitle({ fileData, cfg }: QuartzComponentProps) {
const title = cfg?.pageTitle ?? "Untitled Quartz"
- const slug = canonicalizeServer(fileData.slug!)
- const baseDir = pathToRoot(slug)
+ const baseDir = pathToRoot(fileData.slug!)
return (
<h1 class="page-title">
<a href={baseDir}>{title}</a>
--
Gitblit v1.10.0