Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
salim-b committed May 23, 2023
1 parent 6838600 commit 53c8e18
Showing 1 changed file with 2 additions and 2 deletions.
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:

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:

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

0 comments on commit 53c8e18

Please sign in to comment.