refactor: move website files to the root level

This commit is contained in:
Oliver Davies 2023-03-21 20:44:42 +00:00
parent c2887ecbc5
commit 2cbbfd60ff
590 changed files with 0 additions and 4484 deletions

5
src/utils.ts Normal file
View file

@ -0,0 +1,5 @@
export function getSlugFromFile(file: string): string {
const parts = file.replace('.md', '').split('/')
return parts[parts.length - 1]
}