google / docsy-example

An example documentation site using the Docsy Hugo theme
https://docsy.dev
Apache License 2.0
470 stars 685 forks source link

Fix: remove warnings emitted from hugo v0.112 #206

Closed deining closed 1 year ago

deining commented 1 year ago

When running the example site with hugo v0.112, a bunch of warnings is emitted:

WARN 2023/05/23 22:02:22 config: languages.no.description: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.no.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN 2023/05/23 22:02:22 config: languages.no.time_format_default: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.no.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN 2023/05/23 22:02:22 config: languages.no.time_format_blog: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.no.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN 2023/05/23 22:02:22 config: languages.fa.time_format_default: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.fa.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN 2023/05/23 22:02:22 config: languages.fa.time_format_blog: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.fa.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN 2023/05/23 22:02:22 config: languages.fa.description: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.fa.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN 2023/05/23 22:02:22 config: languages.en.description: custom params on the language top level is deprecated 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

This PR eliminates these warnings.