From 11222dec20c6917f0f83111be9cb326b1fd47f0c Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita <168412973+ClovertaTheTrilobita@users.noreply.github.com> Date: Mon, 30 Mar 2026 12:32:59 +0300 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 584f545..70c7573 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@
-image +image
From dc177ec8c227d5876876c6ae87a559810cb5b419 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita <168412973+ClovertaTheTrilobita@users.noreply.github.com> Date: Mon, 30 Mar 2026 12:34:49 +0300 Subject: [PATCH 2/3] Update README-en.md --- README-en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-en.md b/README-en.md index eef79cd..3d29791 100644 --- a/README-en.md +++ b/README-en.md @@ -14,7 +14,7 @@
-image +image
From d6d0f529b8b6fc22c3ecc6cf25a03c483c7d24c1 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Mon, 30 Mar 2026 18:01:38 +0300 Subject: [PATCH 3/3] fix rss --- src/pages/rss.xml.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 22a20fa..0091c90 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -4,6 +4,9 @@ import { getCollection } from 'astro:content'; export async function GET(context) { const posts = await getCollection("blog"); + const [postLang, ...slugParts] = post.id.split("/"); + const slug = slugParts.join("/"); + return rss({ title: 'Cloverta的博客', description: '在这里,发现更多(雾)欢迎来到三叶的博客🥳', @@ -13,7 +16,7 @@ export async function GET(context) { title: post.data.title, pubDate: post.data.pubDate, description: post.data.description, - link: `/posts/${post.id}/`, + link: `/zh/posts/${slug}/`, })), customData: `en-us`, })