Skip to content

Commit 7807853

Browse files
committed
#1697 - Fixed Hugo depericate warning on custom params
Fixed Hugo depericate warning "custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0"
1 parent 9b3fc36 commit 7807853

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

Diff for: website_and_docs/hugo.toml

+11-6
Original file line numberDiff line numberDiff line change
@@ -53,35 +53,40 @@ anchor = "smart"
5353
[languages]
5454
[languages.en]
5555
title = "Selenium"
56-
description = "Selenium automates browsers. That's it!"
5756
languageName ="English"
5857
weight = 1
58+
[languages.en.params]
59+
description = "Selenium automates browsers. That's it!"
5960
[languages.pt-br]
6061
title = "Selenium"
61-
description = "Selenium automates browsers. That's it!"
6262
languageName ="Português (Brasileiro)"
6363
weight = 2
64+
[languages.pt-br.params]
65+
description = "Selenium automates browsers. That's it!"
6466
[languages.zh-cn]
6567
title = "Selenium"
66-
description = "Selenium automates browsers. That's it!"
6768
languageName = "中文简体"
6869
weight = 3
70+
[languages.zh-cn.params]
71+
description = "Selenium automates browsers. That's it!"
6972
[languages.ja]
7073
title = "Selenium"
71-
description = "Selenium automates browsers. That's it!"
7274
languageName = "日本語"
7375
weight = 4
76+
[languages.ja.params]
77+
description = "Selenium automates browsers. That's it!"
7478
[languages.other]
7579
title = "Selenium"
76-
description = "Selenium automates browsers. That's it!"
7780
languageName ="Other"
7881
weight = 5
82+
[languages.other.params]
83+
description = "Selenium automates browsers. That's it!"
7984

8085
# Import docsy theme as module
8186
[module]
8287
proxy = "direct"
8388
# uncomment line below for temporary local development of module
84-
# replacements = "github.com/google/docsy -> ../../docsy"
89+
#replacements = "github.com/google/docsy -> ../../docsy"
8590
[module.hugoVersion]
8691
extended = true
8792
min = "0.73.0"

0 commit comments

Comments
 (0)