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 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 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" 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 }}