From cabaf06ef2716885fd751ef191018c9da48ecbf9 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Sat, 12 Aug 2023 12:20:19 +0200 Subject: [PATCH] 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 --- exampleSite/config.yaml | 9 ++++++--- netlify.toml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 78354f2..80f3bf0 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -9,19 +9,22 @@ languages: en: languageName: English title: Example Site - description: Example description weight: 1 + params: + description: Example description zh-cn: languageName: 中文 title: 演示站点 - description: 演示说明 weight: 2 + params: + description: 演示说明 ar: languageName: عربي languagedirection: rtl title: موقع تجريبي - description: وصف تجريبي weight: 3 + params: + description: وصف تجريبي # Change it to your Disqus shortname before using disqusShortname: hugo-theme-stack diff --git a/netlify.toml b/netlify.toml index 90a0360..229f970 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,7 +2,7 @@ publish = "exampleSite/public" [build.environment] - HUGO_VERSION = "0.100.2" + HUGO_VERSION = "0.117.0" HUGO_THEME = "repo" [context.production]