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} ))