Database and markdown refactoring

This commit is contained in:
2024-08-05 17:32:48 +02:00
parent fb58a24170
commit 310a4accc4
24 changed files with 1143 additions and 333 deletions

4
utils/utils.ts Normal file
View File

@@ -0,0 +1,4 @@
export function unifySlug(slug: string | string[]): string
{
return '/' + (Array.isArray(slug) ? slug.join('/') : slug);
}