Skip to content

Commit

Permalink
feat: wrap site title in span (#3522)
Browse files Browse the repository at this point in the history
Co-authored-by: Divyansh Singh <[email protected]>
  • Loading branch information
jd-solanki and brc-dd authored Jan 31, 2024
1 parent 54042ef commit 6b1f951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/theme-default/components/VPNavBarTitle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const target = computed(() =>
>
<slot name="nav-bar-title-before" />
<VPImage v-if="theme.logo" class="logo" :image="theme.logo" />
<template v-if="theme.siteTitle">{{ theme.siteTitle }}</template>
<template v-else-if="theme.siteTitle === undefined">{{ site.title }}</template>
<template v-if="theme.siteTitle"><span>{{ theme.siteTitle }}</span></template>
<template v-else-if="theme.siteTitle === undefined"><span>{{ site.title }}</span></template>
<slot name="nav-bar-title-after" />
</a>
</div>
Expand Down

0 comments on commit 6b1f951

Please sign in to comment.