aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/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/index.astro
parentb913e45faa5b9c4d78f1b575818a7e96b8678ce8 (diff)
migrate codebase to astro blog v7
Diffstat (limited to 'src/pages/index.astro')
-rw-r--r--src/pages/index.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro
index ec63ed6..1ef4af0 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -48,7 +48,7 @@ const microposts = (await getCollection("micro")).sort(
.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>
))
.reverse()
@@ -64,7 +64,7 @@ const microposts = (await getCollection("micro")).sort(
.map((post) => (
<li>
<FormattedDate date={post.data.pubDate} />
- <a href={`/micro/${post.slug}/`}>{post.data.title}</a>
+ <a href={`/micro/${post.id}/`}>{post.data.title}</a>
</li>
))
.reverse()
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage