diff --git a/layouts/partials/comments/provider/giscus.html b/layouts/partials/comments/provider/giscus.html index f36ead9..e69a827 100644 --- a/layouts/partials/comments/provider/giscus.html +++ b/layouts/partials/comments/provider/giscus.html @@ -1,3 +1,5 @@ +{{- $replaceKeys := dict "zh-cn" "zh-CN" -}} +{{- $lang := index $replaceKeys .Site.LanguageCode -}} {{- with .Site.Params.comments.giscus -}}