From 7ed826138aca65416140d7ddbce4bfd1b394d7c3 Mon Sep 17 00:00:00 2001 From: Christian van der Loo Date: Sat, 31 May 2025 13:51:05 -0400 Subject: [PATCH] remove --- src/pages/index.astro | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index af6f26d..a6cc90a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,17 +1,17 @@ --- -import { getCollection } from "astro:content"; -import { Icon } from "astro-icon/components"; -import dayjs from "dayjs"; -import BaseLayout from "../layouts/BaseLayout.astro"; +import { getCollection } from "astro:content" +import { Icon } from "astro-icon/components" +import dayjs from "dayjs" +import BaseLayout from "../layouts/BaseLayout.astro" -const posts = await getCollection("blog"); +const posts = await getCollection("blog") const postsSorted = posts - .filter((post) => !post.data.draft) - .sort((a, b) => { - return new Date(b.data.date).getTime() - new Date(a.data.date).getTime(); - }); + .filter((post) => !post.data.draft) + .sort((a, b) => { + return new Date(b.data.date).getTime() - new Date(a.data.date).getTime() + }) -const projects = await getCollection("projects"); +const projects = await getCollection("projects") --- @@ -24,11 +24,6 @@ const projects = await getCollection("projects"); music and work on personal and open-source projects. You can find me on LinkedIn, Instagram, - Mastodon, and GitHub.

-- 2.51.2