From bc2e6a70a8fa713306f61b3901d275670372ee06 Mon Sep 17 00:00:00 2001 From: geekifan Date: Sun, 11 May 2025 11:11:49 +0800 Subject: [PATCH] docs: add i18n author --- config/_default/params.toml | 1 + data/authors/en.yaml | 3 +++ data/authors/zh-CN.yaml | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 data/authors/en.yaml create mode 100644 data/authors/zh-CN.yaml diff --git a/config/_default/params.toml b/config/_default/params.toml index b77a1b2..0f018f9 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,6 +1,7 @@ theme_version = "5.2.0" toc = true avatar = "img/commons/avatar.jpg" +author = "yifan" [assets] self_host = false diff --git a/data/authors/en.yaml b/data/authors/en.yaml new file mode 100644 index 0000000..67c9e16 --- /dev/null +++ b/data/authors/en.yaml @@ -0,0 +1,3 @@ +yifan: + name: Yifan + url: https://github.com/geekifan \ No newline at end of file diff --git a/data/authors/zh-CN.yaml b/data/authors/zh-CN.yaml new file mode 100644 index 0000000..2d0156d --- /dev/null +++ b/data/authors/zh-CN.yaml @@ -0,0 +1,3 @@ +yifan: + name: 一凡 + url: https://github.com/geekifan \ No newline at end of file