Skip to content

Commit

Permalink
fixed post links
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-m-masood committed Aug 18, 2024
1 parent 8aa45f5 commit 14fbf0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/components/SimilarPosts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { posts } = Astro.props;
<div class={`col-12 sm:col-6 md:col-4 ${i === 2 && "hidden md:block"}`}>
{post.data.image && (
<a
href={`/${post.slug}`}
href={`/blog/${post.slug}`}
class="rounded-lg block hover:text-primary overflow-hidden group"
>
<Image
Expand Down

0 comments on commit 14fbf0a

Please sign in to comment.