link processing
This commit is contained in:
parent
21c007e2fc
commit
3636c052eb
5 changed files with 13 additions and 15 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue