File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
content/zh-cn/docs/contribute Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -298,19 +298,19 @@ For an example of adding a label, see the PR for adding the
298
298
299
299
The Kubernetes website uses Hugo as its web framework. The website's Hugo
300
300
configuration resides in the
301
- [`config .toml`](https://github.com/kubernetes/website/tree/main/config .toml)
302
- file. You'll need to modify `config .toml` to support a new localization.
301
+ [`hugo .toml`](https://github.com/kubernetes/website/tree/main/hugo .toml)
302
+ file. You'll need to modify `hugo .toml` to support a new localization.
303
303
304
- Add a configuration block for the new language to `config .toml` under the
304
+ Add a configuration block for the new language to `hugo .toml` under the
305
305
existing `[languages]` block. The German block, for example, looks like:
306
306
-->
307
307
### 修改站点配置 {#configure-the-workflow}
308
308
309
309
Kubernetes 网站使用 Hugo 作为其 Web 框架。网站的 Hugo 配置位于
310
- [ ` config .toml` ] ( https://github.com/kubernetes/website/tree/main/config .toml ) 文件中。
311
- 为了支持新的本地化,你需要修改 ` config .toml` 。
310
+ [ ` hugo .toml` ] ( https://github.com/kubernetes/website/tree/main/hugo .toml ) 文件中。
311
+ 为了支持新的本地化,你需要修改 ` hugo .toml` 。
312
312
313
- 在现有的 ` [languages] ` 下,将新语言的配置添加到 ` config .toml` 中。
313
+ 在现有的 ` [languages] ` 下,将新语言的配置添加到 ` hugo .toml` 中。
314
314
例如,下面是德语的配置示例:
315
315
316
316
``` toml
You can’t perform that action at this time.
0 commit comments