[zh-cn] update hugo config file

en PR:  https://github.com/kubernetes/website/issues/39632
pull/40155/head
jiecloud 2023-03-20 18:22:21 +08:00 committed by GitHub
parent 1b9f589d34
commit 2d61ea506a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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`
<!--
### `{{</* param "version" */>}}`