Skip to content

Commit

Permalink
[en] update hugo config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell committed Mar 18, 2023
1 parent 1a1f558 commit 73bfd0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/contribute/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ For an example of adding a label, see the PR for adding the

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

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

```toml
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/contribute/style/hugo-shortcodes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ 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`.

### `{{</* param "version" */>}}`
Expand Down

0 comments on commit 73bfd0e

Please sign in to comment.