move project showcase to the main page

This commit is contained in:
2025-04-12 18:00:52 +02:00
parent 854f07fa31
commit ec2297b5db
6 changed files with 138 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import {getCollection} from "astro:content";
const title = 'Projects';
const description = 'Stuff I\'m working on.';
const permalink = `${Astro.site.href}projects`;
const permalink = `${Astro?.site?.href}projects`;
const projectsCollection = await getCollection('projects');
projectsCollection.sort((a, b) => a.data.name.localeCompare(b.data.name));