Skip to content

Commit

Permalink
Merge pull request #514 from ritterim/tk-astro-redirect
Browse files Browse the repository at this point in the history
/ before slug
  • Loading branch information
mrtrimble authored Jul 18, 2023
2 parents 706c998 + 42a786a commit 8692c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RelatedArticles.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ posts = [...new Set(posts)];
</figure>
<div class="flex flex--justify-between flex--column">
<h3 class="text--size-base m-0 px-2 pt-3 pb-6">
<a href={post.slug}>{post.data.title}</a>
<a href={`/${post.slug}`}>{post.data.title}</a>
</h3>
<div class="flex pos-abs pin-bottom flex--wrap p-2">
{post.data.tags.slice(0, 3).map((tag) => (
Expand Down

0 comments on commit 8692c13

Please sign in to comment.