Skip to content

Commit e9b96df

Browse files
committed
Update i18n configuration and edit URL
1 parent 3004701 commit e9b96df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docusaurus.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const config = {
2727
// metadata like html lang. For example, if your site is Chinese, you may want
2828
// to replace "en" with "zh-Hans".
2929
i18n: {
30-
defaultLocale: "en",
31-
locales: ["en"],
30+
defaultLocale: "vi",
31+
locales: ["vi", "en"],
3232
},
3333

3434
presets: [
@@ -39,15 +39,15 @@ const config = {
3939
docs: {
4040
sidebarPath: require.resolve("./sidebars.js"),
4141
path: "docs",
42+
routeBasePath: "/",
4243
includeCurrentVersion: true,
4344
},
4445

4546
blog: {
4647
showReadingTime: true,
4748
// Please change this to your repo.
4849
// Remove this to remove the "edit this page" links.
49-
editUrl:
50-
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
50+
editUrl: "https://github.com/pnstack/blog/edit/main/",
5151
},
5252
theme: {
5353
customCss: require.resolve("./src/css/custom.css"),

0 commit comments

Comments
 (0)