Skip to content

Commit c301986

Browse files
committed
Update docusaurus.config.js
1 parent b43c36a commit c301986

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

website/docusaurus.config.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,15 @@ const config = {
3030
// useful metadata like html lang. For example, if your site is Chinese, you
3131
// may want to replace "en" with "zh-Hans".
3232
i18n: {
33-
defaultLocale: 'en',
34-
locales: ['en','zh'],
33+
defaultLocale: 'zh',
34+
locales: ['zh','en'],
3535
localeConfigs: {
36-
en: {
37-
htmlLang: 'en-GB',
38-
},
39-
// You can omit a locale (e.g. fr) if you don't need to override the defaults
4036
zh: {
4137
htmlLang: 'zh-GB',
4238
},
39+
en: {
40+
htmlLang: 'en-GB',
41+
}
4342
}
4443
},
4544

0 commit comments

Comments
 (0)