Skip to content

Commit

Permalink
[zh-cn] update hugo config file
Browse files Browse the repository at this point in the history
en PR:  #39632
  • Loading branch information
jiecloud committed Mar 20, 2023
1 parent 1b9f589 commit 2d61ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/zh-cn/docs/contribute/style/hugo-shortcodes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" */>}}`
Expand Down

0 comments on commit 2d61ea5

Please sign in to comment.