const COLLISION_SUFFIX = /-\d+$/ export function baseSlugOf(adjustedSlug: string) { return adjustedSlug.replace(COLLISION_SUFFIX, '') }