Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #2088

Merged
merged 3 commits into from
May 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/content-management/multilingual.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Only the obvious non-global options can be overridden per language. Examples of

{{< new-in "0.112.0" >}}

In version `0.112.0` of Hugo we did a major we consolidated all configuration options, but also improved how the languages and their params gets merged with the main configuration. But while testing this on Hugo sites out there, we got some error reports, and reverted some of the changes in favour of deprecation warnings:
In version `0.112.0` of Hugo we consolidated all configuration options, but also improved how the languages and their params get merged with the main configuration. But while testing this on Hugo sites out there, we got some error reports and reverted some of the changes in favour of deprecation warnings:
salim-b marked this conversation as resolved.
Show resolved Hide resolved

1. `site.Language.Params` is deprecated. Use `site.Params` directly.
1. Adding custom params to the top level language config is deprecated, add all of these below `[params]`, see `color` in the example below.
Expand All @@ -90,7 +90,7 @@ languageCode = "sv"
color = "blue"
```

In the example above, all the settings exept the `color` below `params` maps to predefined configuration options in Hguo for the site and its language, and should be accessed via the documented accessors:
In the example above, all the settings exept the `color` below `params` maps to predefined configuration options in Hugo for the site and its language and should be accessed via the documented accessors:
salim-b marked this conversation as resolved.
Show resolved Hide resolved

```
{{ site.Title }}
Expand Down