Skip to content

Commit 6b1f951

Browse files
jd-solankibrc-dd
andauthored
feat: wrap site title in span (#3522)
Co-authored-by: Divyansh Singh <[email protected]>
1 parent 54042ef commit 6b1f951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/client/theme-default/components/VPNavBarTitle.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ const target = computed(() =>
3939
>
4040
<slot name="nav-bar-title-before" />
4141
<VPImage v-if="theme.logo" class="logo" :image="theme.logo" />
42-
<template v-if="theme.siteTitle">{{ theme.siteTitle }}</template>
43-
<template v-else-if="theme.siteTitle === undefined">{{ site.title }}</template>
42+
<template v-if="theme.siteTitle"><span>{{ theme.siteTitle }}</span></template>
43+
<template v-else-if="theme.siteTitle === undefined"><span>{{ site.title }}</span></template>
4444
<slot name="nav-bar-title-after" />
4545
</a>
4646
</div>

0 commit comments

Comments
 (0)