From c0b0a2276c414e5a4b80e8ba32f97cb01391b6b4 Mon Sep 17 00:00:00 2001 From: eltrac Date: Wed, 6 May 2026 02:17:56 +0800 Subject: chore(hugo): replace deprecated .Language.LanguageCode with .Language.Locale --- layouts/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/rss.xml b/layouts/rss.xml index 026d9a8..08419d3 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -38,7 +38,7 @@ {{ .Permalink }} {{ .Site.Title }}{{ if ne .Title .Site.Title }}{{ with .Title }}:在「{{.}}」分区下的最新内容{{ end }}{{ end }} Hugo - {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{ site.Language.Locale }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }}{{ if not .Date.IsZero }} -- cgit v1.2.3