Skip to content

Commit

Permalink
设置回退语言为简体中文
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleChest committed Jan 12, 2025
1 parent a90c5e5 commit f27e74d
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
},
locales: {
en: { label: "English", ...en },
"zh-hans": { label: "简体中文", ...zhHans },
root: { label: "简体中文", ...zhHans },
},
themeConfig: {
logo: "/logo.png",
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/maps.zhHans.data.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { createContentLoader } from "vitepress";
export default createContentLoader("src/zh-hans/maps/*.md");
export default createContentLoader("src/maps/*.md");
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f27e74d

Please sign in to comment.