From cfc294c98c4a73206713a4ecdefff6ec56423196 Mon Sep 17 00:00:00 2001 From: Axel Vasquez Date: Fri, 10 Apr 2026 00:14:53 -0300 Subject: [PATCH 1/4] chore(workflow): Build check with Hugo v161.1 --- .github/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index fe472b36..9964a2fb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -12,7 +12,7 @@ jobs: Build: runs-on: ubuntu-latest env: - HUGO_VERSION: "0.157.0" + HUGO_VERSION: "0.161.1" steps: - name: Checkout code uses: actions/checkout@v5 From a28d449364d7d2903df513b3d982a69f46aba937 Mon Sep 17 00:00:00 2001 From: Axel Vasquez Date: Sat, 2 May 2026 14:21:08 +0200 Subject: [PATCH 2/4] fix(build): .Site.LanguageCode was deprecated in Hugo v0.158.0 --- themes/hello-friend/layouts/_default/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hello-friend/layouts/_default/rss.xml b/themes/hello-friend/layouts/_default/rss.xml index ab1aada8..6c6533f7 100644 --- a/themes/hello-friend/layouts/_default/rss.xml +++ b/themes/hello-friend/layouts/_default/rss.xml @@ -24,7 +24,7 @@ {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} + Hugo -- gohugo.io{{ with .Site.Language.Locale }} {{.}}{{end}}{{ with .Site.Params.Author.email }} {{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Params.Author.email }} {{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} From 7643b60ab16efdedd0907db7df8903e6f2d32e19 Mon Sep 17 00:00:00 2001 From: Axel Vasquez Date: Mon, 4 May 2026 06:14:53 +0300 Subject: [PATCH 3/4] fix(build): project config key languageCode was deprecated in Hugo v0.158.0 --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index cb57f156..549a24fb 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ baseURL = "https://sysarmy.com/blog/" -languageCode = "en-us" +locale = "en-us" theme = "hello-friend" publishDir = "/" MetaDataFormat = "toml" From 1a7d944c5527dda72f550e5a1516125a4890478d Mon Sep 17 00:00:00 2001 From: Axel Vasquez Date: Sat, 9 May 2026 01:42:29 -0300 Subject: [PATCH 4/4] chore(workflow): Build with Hugo v161.1 --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 465c8793..911f1556 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,7 +13,7 @@ jobs: env: GITHUB_BRANCH: gh-pages GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }} - HUGO_VERSION: "0.157.0" + HUGO_VERSION: "0.161.1" steps: - name: Checkout code uses: actions/checkout@v3