fix: prefer `repo` above `docsRepo` for the navbar repo link

pull/513/head
Divyansh Singh 4 years ago committed by GitHub
parent 45b65ce8b6
commit 34d2c4733d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save