fix: custom params on the language top level is deprecated (#857)

* fix: custom params on the language top level is deprecated

New with Hugo 0.112.0

closes #853

* ci: upgrade Netlify CI Hugo version to 0.117.0
This commit is contained in:
Jimmy Cai 2023-08-12 12:20:19 +02:00 committed by GitHub
parent 26d2859f70
commit cabaf06ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -9,19 +9,22 @@ languages:
en: en:
languageName: English languageName: English
title: Example Site title: Example Site
description: Example description
weight: 1 weight: 1
params:
description: Example description
zh-cn: zh-cn:
languageName: 中文 languageName: 中文
title: 演示站点 title: 演示站点
description: 演示说明
weight: 2 weight: 2
params:
description: 演示说明
ar: ar:
languageName: عربي languageName: عربي
languagedirection: rtl languagedirection: rtl
title: موقع تجريبي title: موقع تجريبي
description: وصف تجريبي
weight: 3 weight: 3
params:
description: وصف تجريبي
# Change it to your Disqus shortname before using # Change it to your Disqus shortname before using
disqusShortname: hugo-theme-stack disqusShortname: hugo-theme-stack

View file

@ -2,7 +2,7 @@
publish = "exampleSite/public" publish = "exampleSite/public"
[build.environment] [build.environment]
HUGO_VERSION = "0.100.2" HUGO_VERSION = "0.117.0"
HUGO_THEME = "repo" HUGO_THEME = "repo"
[context.production] [context.production]