export function findSlug(filepath: string) { return filepath.match(/(?:.*[\\/])(.+)(?:\.json)/)?.[1] }