feat: wrap site title in span (#3522)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/3525/head
JD Solanki 9 months ago committed by GitHub
parent 54042ef576
commit 6b1f951928
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save