Skip to content

Commit 72d97d8

Browse files
committed
[zh] update hugo config file
1 parent b2122ae commit 72d97d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/zh-cn/docs/contribute/localization.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,19 +298,19 @@ For an example of adding a label, see the PR for adding the
298298
299299
The Kubernetes website uses Hugo as its web framework. The website's Hugo
300300
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.
303303
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
305305
existing `[languages]` block. The German block, for example, looks like:
306306
-->
307307
### 修改站点配置 {#configure-the-workflow}
308308

309309
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`
312312

313-
在现有的 `[languages]` 下,将新语言的配置添加到 `config.toml` 中。
313+
在现有的 `[languages]` 下,将新语言的配置添加到 `hugo.toml` 中。
314314
例如,下面是德语的配置示例:
315315

316316
```toml

0 commit comments

Comments
 (0)