From bb677840fc1ff14637fab8a99841dd532f408fce Mon Sep 17 00:00:00 2001
From: 松浦 知也 Matsuura Tomoya <me@matsuuratomoya.com>
Date: Tue, 22 Aug 2023 16:16:55 +0000
Subject: [PATCH] fixed broken CJK links (#390)
---
quartz/components/TagList.tsx | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/quartz/components/TagList.tsx b/quartz/components/TagList.tsx
index 6560035..639f68c 100644
--- a/quartz/components/TagList.tsx
+++ b/quartz/components/TagList.tsx
@@ -1,10 +1,9 @@
-import { canonicalizeServer, pathToRoot, slugTag } from "../path"
+import { pathToRoot, slugTag } from "../util/path"
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
function TagList({ fileData }: QuartzComponentProps) {
const tags = fileData.frontmatter?.tags
- const slug = canonicalizeServer(fileData.slug!)
- const baseDir = pathToRoot(slug)
+ const baseDir = pathToRoot(fileData.slug!)
if (tags && tags.length > 0) {
return (
<ul class="tags">
--
Gitblit v1.10.0