export function unifySlug(slug: string | string[]): string { return '/' + (Array.isArray(slug) ? slug.join('/') : slug); }