Skip to content

Commit 2d61ea5

Browse files
authored
[zh-cn] update hugo config file
en PR: #39632
1 parent 1b9f589 commit 2d61ea5

File tree

1 file changed

+2
-2
lines changed
  • content/zh-cn/docs/contribute/style/hugo-shortcodes

1 file changed

+2
-2
lines changed

content/zh-cn/docs/contribute/style/hugo-shortcodes/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,13 +582,13 @@ before the item, or just below the heading for the specific item.
582582
583583
To generate a version string for inclusion in the documentation, you can choose from
584584
several version shortcodes. Each version shortcode displays a version string derived from
585-
the value of a version parameter found in the site configuration file, `config.toml`.
585+
the value of a version parameter found in the site configuration file, `hugo.toml`.
586586
The two most commonly used version parameters are `latest` and `version`.
587587
-->
588588
## 版本号信息 {#version-strings}
589589

590590
要在文档中生成版本号信息,可以从以下几种短代码中选择。每个短代码可以基于站点配置文件
591-
`config.toml` 中的版本参数生成一个版本号取值。最常用的参数为 `latest``version`
591+
`hugo.toml` 中的版本参数生成一个版本号取值。最常用的参数为 `latest``version`
592592

593593
<!--
594594
### `{{</* param "version" */>}}`

0 commit comments

Comments
 (0)