aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/blog/index.astro
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-08-13 20:24:43 -0700
committerPinapelz <yukais@pinapelz.com>2026-08-13 20:24:43 -0700
commit6bd7c45dd6c477c2f288a26f9dddcaff6b14d73e (patch)
tree98e85a5d1dd0f97a7aa300582f924a4f9d76b3ad /src/pages/blog/index.astro
parentb913e45faa5b9c4d78f1b575818a7e96b8678ce8 (diff)
migrate codebase to astro blog v7
Diffstat (limited to 'src/pages/blog/index.astro')
-rw-r--r--src/pages/blog/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index 11201b1..79034d4 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -42,7 +42,7 @@ const posts = (await getCollection('blog')).sort(
posts.map((post) => (
<li>
<FormattedDate date={post.data.pubDate} />
- <a href={`/blog/${post.slug}/`}>{post.data.title}</a>
+ <a href={`/blog/${post.id}/`}>{post.data.title}</a>
</li>
))
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage