Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <github@jimmycai.com>2022-03-09 17:59:36 +0300
committerGitHub <noreply@github.com>2022-03-09 17:59:36 +0300
commitb5d0c5b37d8d774d30c66d533efa3982fe6d50a5 (patch)
tree724df75ad529422fd4bfab7746b073b30c122d4d
parent0167edcbf287aac3e39decd2e31ad86ea8baf448 (diff)
fix(exampleSite): cn -> zh-CN
-rw-r--r--exampleSite/config.yaml4
-rw-r--r--exampleSite/content/_index.zh-CN.md (renamed from exampleSite/content/_index.cn.md)0
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 84585b4..bc07d59 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -9,7 +9,7 @@ languages:
languageName: English
title: Example Site
weight: 1
- cn:
+ zh-CN:
languageName: 中文
title: 演示站点
weight: 2
@@ -26,7 +26,7 @@ disqusShortname: hugo-theme-stack
googleAnalytics:
# Theme i18n support
-# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
+# Available values: en, fr, id, ja, ko, pt-br, zh-CN, zh-TW, es, de, nl, it, th, el, uk, ar
DefaultContentLanguage: en
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
diff --git a/exampleSite/content/_index.cn.md b/exampleSite/content/_index.zh-CN.md
index e4b59a8..e4b59a8 100644
--- a/exampleSite/content/_index.cn.md
+++ b/exampleSite/content/_index.zh-CN.md