main
1#import "/src/contents/_lib/lib.typ" as kp
2#show: kp.post-template.with(toc: false, lang: "zh", region: "CN")
3
4Kerplunk 是一个使用
5#link("https://docs.astro.build")[Astro] 和 #link("https://typst.app")[Typst]
6构建的静态博客站点生成器。
7
8= 安装
9
10要开始使用 Kerplunk,请按以下步骤操作:
11
12+ 克隆仓库:
13 ```sh
14 git clone https://git.trin.one/HPCesia/kerplunk.git --recurisve
15 cd kerplunk
16 ```
17+ 安装依赖:
18 ```sh
19 deno install
20 ```
21+ 编辑 `src/config.ts` 来配置你的站点,
22 设置站点元数据与偏好。
23+ 启动开发服务器:
24 ```sh
25 deno run dev
26 ```
27+ 构建生产版本:
28 ```sh
29 deno run build
30 ```