diff options
| author | Andrew Lee <andrew@alee14.me> | 2026-07-06 21:53:18 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2026-07-06 21:53:18 -0400 |
| commit | 22e353c04c1d15805be93e6922b45e9372415d8f (patch) | |
| tree | 0ea19f99716b8f81b38ea1dcf96314096998433d /src/pages/index.astro | |
| parent | 4300523e4e166b1ad2adc91f870f10a6c40c8a7c (diff) | |
| download | personal-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.astro | 2 |
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> |
