From b5d0c5b37d8d774d30c66d533efa3982fe6d50a5 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Wed, 9 Mar 2022 14:59:36 +0000 Subject: [PATCH] fix(exampleSite): cn -> zh-CN --- exampleSite/config.yaml | 4 ++-- exampleSite/content/{_index.cn.md => _index.zh-CN.md} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename exampleSite/content/{_index.cn.md => _index.zh-CN.md} (100%) 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 similarity index 100% rename from exampleSite/content/_index.cn.md rename to exampleSite/content/_index.zh-CN.md