mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 08:44:36 +00:00
link processing
This commit is contained in:
@ -12,7 +12,6 @@ export function slugify(s: string): string {
|
||||
const slugParts: string = rawSlugSegments
|
||||
.map((segment) => slugSegment(segment))
|
||||
.join(path.posix.sep)
|
||||
// .replace(/index$/, '')
|
||||
.replace(/\/$/, '')
|
||||
return path.normalize(slugParts) + sluggedAnchor
|
||||
}
|
||||
|
Reference in New Issue
Block a user