diff --git a/lib/events.ts b/lib/events.ts index bac0ae7a..a3bb6f3c 100644 --- a/lib/events.ts +++ b/lib/events.ts @@ -27,7 +27,6 @@ export async function getEventTermsByYear(year: string): Promise { } interface Metadata { - // slug: string; name: string; poster?: string; short: string; @@ -58,7 +57,6 @@ export async function getEventBySlug( content: await serialize(content), metadata: { ...metadata, - // slug, // permaLink is based on the directory structure in /pages permaLink: `/events/${year}/${term}/${slug}`, } as Metadata,