Remove unneeded comment
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f2df7541c0
commit
832de60952
|
@ -27,7 +27,6 @@ export async function getEventTermsByYear(year: string): Promise<string[]> {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Metadata {
|
interface Metadata {
|
||||||
// slug: string;
|
|
||||||
name: string;
|
name: string;
|
||||||
poster?: string;
|
poster?: string;
|
||||||
short: string;
|
short: string;
|
||||||
|
@ -58,7 +57,6 @@ export async function getEventBySlug(
|
||||||
content: await serialize(content),
|
content: await serialize(content),
|
||||||
metadata: {
|
metadata: {
|
||||||
...metadata,
|
...metadata,
|
||||||
// slug,
|
|
||||||
// permaLink is based on the directory structure in /pages
|
// permaLink is based on the directory structure in /pages
|
||||||
permaLink: `/events/${year}/${term}/${slug}`,
|
permaLink: `/events/${year}/${term}/${slug}`,
|
||||||
} as Metadata,
|
} as Metadata,
|
||||||
|
|
Loading…
Reference in New Issue