From b093e58808afc163fbb843047409fb2227e818bc Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Fri, 17 Apr 2026 14:25:55 +0300 Subject: [PATCH] update title --- src/i18n/en.ts | 3 ++- src/i18n/zh.ts | 3 ++- src/pages/[lang]/index.astro | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 69350fa..c0d0b55 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -25,7 +25,8 @@ export default { content: [ "These few lines speak what the heart would say; Ink and paper end, but thoughts still stay", "Welcome to Cloverta's blog.", - ] + ], + latestTitle: "Latest Posts" }, about: { title: "About Me, and This Blog", diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts index b0b72fc..f82dcca 100644 --- a/src/i18n/zh.ts +++ b/src/i18n/zh.ts @@ -25,7 +25,8 @@ export default { content: [ "见字如晤,展信舒颜。楮墨有限,不尽欲言。", "欢迎来到三叶的博客。", - ] + ], + latestTitle: "最新文章" }, about: { title: "关于我,和这个博客", diff --git a/src/pages/[lang]/index.astro b/src/pages/[lang]/index.astro index dc583c8..986e330 100644 --- a/src/pages/[lang]/index.astro +++ b/src/pages/[lang]/index.astro @@ -47,6 +47,8 @@ const pageTitle = t.home.title;
+

{t.home.latestTitle}

+