From eafdabfd0854e866b73b872620c20de29a6d2ef8 Mon Sep 17 00:00:00 2001 From: Henry Hiles Date: Tue, 11 Jul 2023 08:11:49 -0400 Subject: [PATCH] Fix issue on blog --- src/pages/blog/[...category]/index.astro | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/blog/[...category]/index.astro b/src/pages/blog/[...category]/index.astro index d24b0ee..b4d47c1 100644 --- a/src/pages/blog/[...category]/index.astro +++ b/src/pages/blog/[...category]/index.astro @@ -42,8 +42,7 @@ const { filteredPosts, categoryProperties } = Astro.props ? styles.selected : "" }`} - href={`/blog/${properties.default ? "" : id}`} - > + href={properties.default ? "/blog" : `/blog/${id}`}> {properties.title} ))