From 3636c052eb054d93a8a3ddfb9fdd873d5fe83a5d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 31 May 2023 21:41:44 +0000
Subject: [PATCH] link processing
---
quartz/path.ts | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/quartz/path.ts b/quartz/path.ts
index 8967d79..4127fc0 100644
--- a/quartz/path.ts
+++ b/quartz/path.ts
@@ -12,7 +12,6 @@
const slugParts: string = rawSlugSegments
.map((segment) => slugSegment(segment))
.join(path.posix.sep)
- // .replace(/index$/, '')
.replace(/\/$/, '')
return path.normalize(slugParts) + sluggedAnchor
}
--
Gitblit v1.10.0