mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-05-12 14:26:56 +00:00
move project showcase to the main page
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user