Skip to content

Commit 4a6f5e5

Browse files
authored
Merge pull request #40119 from Arhell/en-hugo
[en] update hugo config file
2 parents 46a5ddb + 73bfd0e commit 4a6f5e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

content/en/docs/contribute/localization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ For an example of adding a label, see the PR for adding the
162162

163163
The Kubernetes website uses Hugo as its web framework. The website's Hugo
164164
configuration resides in the
165-
[`config.toml`](https://github.com/kubernetes/website/tree/main/config.toml)
166-
file. You'll need to modify `config.toml` to support a new localization.
165+
[`hugo.toml`](https://github.com/kubernetes/website/tree/main/hugo.toml)
166+
file. You'll need to modify `hugo.toml` to support a new localization.
167167

168-
Add a configuration block for the new language to `config.toml` under the
168+
Add a configuration block for the new language to `hugo.toml` under the
169169
existing `[languages]` block. The German block, for example, looks like:
170170

171171
```toml

content/en/docs/contribute/style/hugo-shortcodes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ before the item, or just below the heading for the specific item.
338338

339339
To generate a version string for inclusion in the documentation, you can choose from
340340
several version shortcodes. Each version shortcode displays a version string derived from
341-
the value of a version parameter found in the site configuration file, `config.toml`.
341+
the value of a version parameter found in the site configuration file, `hugo.toml`.
342342
The two most commonly used version parameters are `latest` and `version`.
343343

344344
### `{{</* param "version" */>}}`

0 commit comments

Comments
 (0)