Fix issue on blog

This commit is contained in:
Henry Hiles 2023-07-11 08:11:49 -04:00 committed by GitHub
parent cf7077078f
commit eafdabfd08
Failed to generate hash of commit

View file

@ -42,8 +42,7 @@ const { filteredPosts, categoryProperties } = Astro.props
? styles.selected ? styles.selected
: "" : ""
}`} }`}
href={`/blog/${properties.default ? "" : id}`} href={properties.default ? "/blog" : `/blog/${id}`}>
>
{properties.title} {properties.title}
</a> </a>
)) ))