diff --git a/src/client/theme-default/composables/repo.ts b/src/client/theme-default/composables/repo.ts index 5bb2112b..80ca12cb 100644 --- a/src/client/theme-default/composables/repo.ts +++ b/src/client/theme-default/composables/repo.ts @@ -12,7 +12,7 @@ export function useRepo() { return computed(() => { const theme = site.value.themeConfig as DefaultTheme.Config - const name = theme.docsRepo || theme.repo + const name = theme.repo || theme.docsRepo if (!name) { return null