feat(theme): don't escape `siteTitle` (#4308)

pull/4312/head
Typed SIGTERM 11 months ago committed by GitHub
parent d870ba48ea
commit bd690d6a9b
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" /> <slot name="nav-bar-title-before" />
<VPImage v-if="theme.logo" class="logo" :image="theme.logo" /> <VPImage v-if="theme.logo" class="logo" :image="theme.logo" />
<template v-if="theme.siteTitle"><span>{{ theme.siteTitle }}</span></template> <span v-if="theme.siteTitle" v-html="theme.siteTitle"></span>
<template v-else-if="theme.siteTitle === undefined"><span>{{ site.title }}</span></template> <span v-else-if="theme.siteTitle === undefined">{{ site.title }}</span>
<slot name="nav-bar-title-after" /> <slot name="nav-bar-title-after" />
</a> </a>
</div> </div>

Loading…
Cancel
Save