42 |
}, |
}, |
43 |
{ |
{ |
44 |
name: "Support", |
name: "Support", |
45 |
url: SUPPORT_EMAIL_ADDRESS, |
url: `mailto:${SUPPORT_EMAIL_ADDRESS}`, |
46 |
}, |
}, |
47 |
{ |
{ |
48 |
name: "Donate", |
name: "Donate", |
119 |
({ |
({ |
120 |
name: page.short_name ?? "Unnamed", |
name: page.short_name ?? "Unnamed", |
121 |
url: page.url, |
url: page.url, |
122 |
} satisfies DocsPageWithoutChildren), |
}) satisfies DocsPageWithoutChildren, |
123 |
); |
); |
124 |
const pages: Record<string, DocsPageWithoutChildren[]> = {}; |
const pages: Record<string, DocsPageWithoutChildren[]> = {}; |
125 |
|
|
214 |
return acc; |
return acc; |
215 |
}, []); |
}, []); |
216 |
}; |
}; |
217 |
|
|
218 |
|
export const isBlogPath = (path: string) => { |
219 |
|
return path.startsWith("/blog/") || path === "/blog"; |
220 |
|
}; |