Skip to content

Commit adf5963

Browse files
committed
add support English version.
Assisted-by: DeepSeek:v4-flash Signed-off-by: lijiansheng <lijiansheng@opensourceway.community>
1 parent 4946c0a commit adf5963

1 file changed

Lines changed: 74 additions & 45 deletions

File tree

config.toml

Lines changed: 74 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,84 @@
11
baseURL = "https://www.opensourceway.blog"
22
title = "「开源之道」"
33
theme = "PaperMod"
4-
languageCode = "zh-CN"
54
hasCJKLanguage = true
65
copyright = 'Copyright (c) 2016 - 2026, 「开源之道」·适兕; all rights reserved.'
76
defaultContentLanguage = "zh"
87
defaultContentLanguageInSubdir = false
8+
disableLanguages = []
9+
enableEmoji = true
10+
enableRobotsTXT = true
11+
12+
[languages]
13+
[languages.zh]
14+
languageCode = "zh-CN"
15+
languageName = "中文"
16+
contentDir = "content"
17+
weight = 1
18+
title = "「开源之道」"
19+
20+
[languages.zh.params]
21+
description = "致力于开源及其相关思想、知识和价值的探究!"
22+
23+
[languages.zh.menus]
24+
[[languages.zh.menus.main]]
25+
identifier = "reading"
26+
name = "📚 共读"
27+
url = "https://osbook.club"
28+
weight = 3
29+
[[languages.zh.menus.main]]
30+
identifier = "works"
31+
name = "✍️ 作品"
32+
url = "/posts/book-of-open-source/the-fascinating-of-open-source/"
33+
weight = 1
34+
[[languages.zh.menus.main]]
35+
identifier = "sponsor"
36+
name = "☕ 赞助"
37+
url = "/posts/the_way_of_open_source/kuosi-2022-find-sponsor/"
38+
weight = 5
39+
[[languages.zh.menus.main]]
40+
identifier = "contribute"
41+
name = "🤝 投稿"
42+
url = "/posts/open-source-way-community-program/call-for-proposals/"
43+
weight = 6
44+
[[languages.zh.menus.main]]
45+
identifier = "archive"
46+
name = "📅 归档"
47+
url = "/archives/"
48+
weight = 7
49+
[[languages.zh.menus.main]]
50+
identifier = "dialogue"
51+
name = "🎙️ 对话"
52+
url = "/posts/osw-dialogue/introduce-open-source-way-dialogue/"
53+
weight = 9
54+
[[languages.zh.menus.main]]
55+
identifier = "search"
56+
name = "🔍 搜索"
57+
url = "/search/"
58+
weight = 11
59+
60+
[languages.en]
61+
languageCode = "en"
62+
languageName = "English"
63+
contentDir = "content/en"
64+
weight = 2
65+
title = "The Way of Open Source"
66+
67+
[languages.en.params]
68+
description = "Exploring open source through institutional economics, culture, and governance."
69+
70+
[languages.en.menus]
71+
[[languages.en.menus.main]]
72+
identifier = "china-daily"
73+
name = "🇨🇳 China Daily"
74+
url = "/en/posts/china-open-source-daily/"
75+
weight = 1
76+
[[languages.en.menus.main]]
77+
identifier = "archive"
78+
name = "📅 Archive"
79+
url = "/en/archives/"
80+
weight = 7
81+
982
[pagination]
1083
pagerSize = 9
1184
enableEmoji = true
@@ -101,47 +174,3 @@ enableRobotsTXT = true
101174
[[params.socialIcons]]
102175
name = "Linkedin"
103176
url = "https://www.linkedin.com/in/lijiansheng/"
104-
105-
[[menu.main]]
106-
identifier = "reading"
107-
name = "📚 共读"
108-
url = "https://osbook.club"
109-
weight = 3
110-
111-
[[menu.main]]
112-
identifier = "works"
113-
name = "✍️ 作品"
114-
url = "/posts/book-of-open-source/the-fascinating-of-open-source/"
115-
weight = 1
116-
117-
[[menu.main]]
118-
identifier = "sponsor"
119-
name = "☕ 赞助"
120-
url = "/posts/the_way_of_open_source/kuosi-2022-find-sponsor/"
121-
weight = 5
122-
123-
[[menu.main]]
124-
identifier = "contribute"
125-
name = "🤝 投稿"
126-
url = "/posts/open-source-way-community-program/call-for-proposals/"
127-
weight = 6
128-
129-
[[menu.main]]
130-
identifier = "archive"
131-
name = "📅 归档"
132-
url = "/archives/"
133-
weight = 7
134-
135-
136-
[[menu.main]]
137-
identifier = "dialogue"
138-
name = "🎙️ 对话"
139-
url = "/posts/osw-dialogue/introduce-open-source-way-dialogue/"
140-
weight = 9
141-
142-
143-
[[menu.main]]
144-
identifier = "search"
145-
name = "🔍 搜索"
146-
url = "/search/"
147-
weight = 11

0 commit comments

Comments
 (0)