Skip to content

Commit

Permalink
fix: link
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyuan0704 committed Feb 22, 2024
1 parent 0b78e82 commit 6b8eecd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function normalizeThemeConfig(
// if lang exists, we should add the lang prefix to the link
// such /guide -> /en/guide
return lang === currentLang
? link
? normalizedLink
: `/${currentLang}${addLeadingSlash(normalizedLink)}`;
};

Expand Down

0 comments on commit 6b8eecd

Please sign in to comment.