Skip to content

Commit

Permalink
fix: link not have base path
Browse files Browse the repository at this point in the history
  • Loading branch information
RiwEZ committed Mar 29, 2024
1 parent 42c5571 commit ad2d693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const posts = (await getCollection("blog")).sort(
<div class="mt-5 container">
{
posts.map((post) => (
<a href={`/blog/${post.slug}/`}>
<a href={`/TanatBlog/blog/${post.slug}/`}>
<div class="cursor-pointer border-b border-gray-500 py-4">
<h3 class="text-2xl font-bold">{post.data.title}</h3>
<p class="mt-2 text-zinc-400">
Expand Down

0 comments on commit ad2d693

Please sign in to comment.