Commit 98a116f

HPCesia <me@hpcesia.com>
2026-09-15 17:30:19
i18n: translations for the home and about pages
Assisted-by: crush:deepseek-v4.1-flash
1 parent 16eb5ab
Changed files (2)
src/contents/about.zh-CN.typ
@@ -0,0 +1,40 @@
+#import "/src/contents/_lib/lib.typ" as kp
+#show: kp.post-template.with(lang: "zh", region: "CN")
+
+= 关于作者
+
+#figure(
+  kp.img(
+    path("./avatar.png"),
+    alt: "Kerplunk 作者 HPCesia 的头像",
+    width: 30%,
+    astro: (
+      style: (width: "calc(max(30%, 18rem))", border-radius: "0.25rem"),
+    ),
+  ),
+)
+
+我是 HPCesia,Kerplunk 的作者。你可以在以下平台找到我:
+
+#figure(
+  table(
+    columns: 2,
+    table.header([平台], [链接]),
+    [Codeberg], link("https://codeberg.org/HPCesia"),
+    [GitHub], link("https://github.com/HPCesia"),
+  ),
+)
+
+#lorem(10)
+
+#lorem(25)
+
+= 关于 Kerplunk
+
+Kerplunk 是一个使用
+#link("https://docs.astro.build")[Astro] 和 #link("https://typst.app")[Typst]
+构建的静态博客站点生成器。
+
+#lorem(20)
+
+#lorem(35)
src/contents/home.zh-CN.typ
@@ -0,0 +1,30 @@
+#import "/src/contents/_lib/lib.typ" as kp
+#show: kp.post-template.with(toc: false, lang: "zh", region: "CN")
+
+Kerplunk 是一个使用
+#link("https://docs.astro.build")[Astro] 和 #link("https://typst.app")[Typst]
+构建的静态博客站点生成器。
+
+= 安装
+
+要开始使用 Kerplunk,请按以下步骤操作:
+
++ 克隆仓库:
+  ```sh
+  git clone https://git.trin.one/HPCesia/kerplunk.git --recurisve
+  cd kerplunk
+  ```
++ 安装依赖:
+  ```sh
+  deno install
+  ```
++ 编辑 `src/config.ts` 来配置你的站点,
+  设置站点元数据与偏好。
++ 启动开发服务器:
+  ```sh
+  deno run dev
+  ```
++ 构建生产版本:
+  ```sh
+  deno run build
+  ```