From 2d61ea506ae1df1be201d327962e9fbda48c2d52 Mon Sep 17 00:00:00 2001 From: jiecloud Date: Mon, 20 Mar 2023 18:22:21 +0800 Subject: [PATCH] [zh-cn] update hugo config file en PR: https://github.com/kubernetes/website/issues/39632 --- content/zh-cn/docs/contribute/style/hugo-shortcodes/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh-cn/docs/contribute/style/hugo-shortcodes/index.md b/content/zh-cn/docs/contribute/style/hugo-shortcodes/index.md index b54b7de0e02..531c9ea76d3 100644 --- a/content/zh-cn/docs/contribute/style/hugo-shortcodes/index.md +++ b/content/zh-cn/docs/contribute/style/hugo-shortcodes/index.md @@ -582,13 +582,13 @@ before the item, or just below the heading for the specific item. To generate a version string for inclusion in the documentation, you can choose from several version shortcodes. Each version shortcode displays a version string derived from -the value of a version parameter found in the site configuration file, `config.toml`. +the value of a version parameter found in the site configuration file, `hugo.toml`. The two most commonly used version parameters are `latest` and `version`. --> ## 版本号信息 {#version-strings} 要在文档中生成版本号信息,可以从以下几种短代码中选择。每个短代码可以基于站点配置文件 -`config.toml` 中的版本参数生成一个版本号取值。最常用的参数为 `latest` 和 `version`。 +`hugo.toml` 中的版本参数生成一个版本号取值。最常用的参数为 `latest` 和 `version`。