File tree 2 files changed +6
-1
lines changed
src/client/theme-default/components
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const { currentLang } = useLangs()
12
12
13
13
<template>
14
14
<div class="VPNavBarTitle" :class="{ 'has-sidebar': hasSidebar }">
15
- <a class="title" :href="normalizeLink(currentLang.link)">
15
+ <a class="title" :href="theme.logoLink ?? normalizeLink(currentLang.link)">
16
16
<slot name="nav-bar-title-before" />
17
17
<VPImage v-if="theme.logo" class="logo" :image="theme.logo" />
18
18
<template v-if="theme.siteTitle">{{ theme.siteTitle }}</template>
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ export namespace DefaultTheme {
13
13
*/
14
14
logo?: ThemeableImage
15
15
16
+ /**
17
+ * Overrides the link of the site logo.
18
+ */
19
+ logoLink?: string
20
+
16
21
/**
17
22
* Custom site title in navbar. If the value is undefined,
18
23
* `config.title` will be used.
You can’t perform that action at this time.
0 commit comments