link processing
This commit is contained in:
1 parent
21c007e2fc
commit
3636c052eb
5 files changed
+13
-15
No files matched your search
@@ -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