$ hugo server -D ─╯
WARN DEPRECATED: Kind "taxonomyterm" used in outputs configuration is deprecated, use "taxonomy" instead.
WARN deprecated: config: languages.en.languagedir: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN deprecated: config: languages.pl.languagedir: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.pl.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Watching for changes in /home/username/example.com/{archetypes,assets,content,layouts,static,themes}
Watching for config changes in /home/username/example.com/config/_default
Start building sites …
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended linux/amd64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio
Solution:
- Update the outputs configuration:
Replace taxonomyterm with taxonomy in the [outputs] section.
In config.toml replace taxonomyterm with taxonomy in the [outputs] section, so it should look like this:
taxonomy = ["HTML", "RSS", "SearchIndex"]
- Update the languages configuration:
Move the languagedir parameter under the [languages..params] section in both config.toml and languages.toml.
In config.toml add for languages this:
[languages]
[languages.en]
languageName = "English"
contentDir = "content/en"
weight = 1
[languages.en.params]
languagedir = "ltr"
[languages.pl]
languageName = "Polish"
contentDir = "content/pl"
weight = 2
[languages.pl.params]
languagedir = "ltr"
In languages.toml set it as below:
[en]
title = "English title"
languageName = "English"
weight = 1
contentdir = "content/en"
[en.params]
languagedir = "ltr"
[pl]
title = "Polski tytuł"
languageName = "Polski"
weight = 2
contentdir = "content/pl"
[pl.params]
languagedir = "ltr"
$ hugo server -D ─╯
WARN DEPRECATED: Kind "taxonomyterm" used in outputs configuration is deprecated, use "taxonomy" instead.
WARN deprecated: config: languages.en.languagedir: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN deprecated: config: languages.pl.languagedir: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.pl.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Watching for changes in /home/username/example.com/{archetypes,assets,content,layouts,static,themes}
Watching for config changes in /home/username/example.com/config/_default
Start building sites …
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended linux/amd64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio
Solution:
Replace taxonomyterm with taxonomy in the [outputs] section.
In config.toml replace taxonomyterm with taxonomy in the [outputs] section, so it should look like this:
Move the languagedir parameter under the [languages..params] section in both config.toml and languages.toml.
In config.toml add for languages this:
In languages.toml set it as below: