aboutsummaryrefslogtreecommitdiff
path: root/src/pages/index.astro
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2026-07-06 21:53:18 -0400
committerAndrew Lee <andrew@alee14.me>2026-07-06 21:53:18 -0400
commit22e353c04c1d15805be93e6922b45e9372415d8f (patch)
tree0ea19f99716b8f81b38ea1dcf96314096998433d /src/pages/index.astro
parent4300523e4e166b1ad2adc91f870f10a6c40c8a7c (diff)
downloadpersonal-website-22e353c04c1d15805be93e6922b45e9372415d8f.tar.gz
personal-website-22e353c04c1d15805be93e6922b45e9372415d8f.tar.bz2
personal-website-22e353c04c1d15805be93e6922b45e9372415d8f.zip
update astrotesting
Diffstat (limited to 'src/pages/index.astro')
-rw-r--r--src/pages/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro
index f1c2da9..943dc01 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -100,7 +100,7 @@ const allBlogPosts = (await getCollection('blog')).sort((a, b) => b.data.pubDate
<h1>Latest Posts</h1>
{allBlogPosts.map((post) => (
<article>
- <h1 class="blog-title"><a href={`/blog/${post.slug}`}>{post.data.title}</a></h1>
+ <h1 class="blog-title"><a href={`/blog/${post.id}`}>{post.data.title}</a></h1>
<small>{formatDate(post.data.pubDate)}</small>
<p>{post.data.description}</p>
</article>