From 754f6a22f00a9e19cfdc5ace2632977530be8a57 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 3 Feb 2026 16:18:33 -0600 Subject: [PATCH] feat: remove hardcoded descriptions --- src/lib/directusTypes.ts | 2 ++ src/pages/blog/index.astro | 9 +++------ src/pages/categories/index.astro | 9 +++------ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/lib/directusTypes.ts b/src/lib/directusTypes.ts index 8f9b27b..c2e8d7f 100644 --- a/src/lib/directusTypes.ts +++ b/src/lib/directusTypes.ts @@ -2,6 +2,8 @@ export type Global = { name: string; about: string; about_description: string; + about_blog: string; + about_categories: string; initials: string; email: string; site_url: string; diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index de48ed6..99d9485 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -19,14 +19,11 @@ const posts = await directus.request( }) ); const selectedPosts: Post[] = posts.filter((p) => p.selected); - -const description = - "Sharing what I've learned, one post at a time. I hope you find something useful."; --- - + diff --git a/src/pages/categories/index.astro b/src/pages/categories/index.astro index 1bbefff..ee9ac52 100644 --- a/src/pages/categories/index.astro +++ b/src/pages/categories/index.astro @@ -73,14 +73,11 @@ const categories = (await getCollection('categories')) }, }; }); - -const description = - 'Here are some of the general categories that I am interested in, including homelabs, technology, and Minnesota.'; ---