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

pull/4312/head
Typed SIGTERM 4 weeks 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" />
<VPImage v-if="theme.logo" class="logo" :image="theme.logo" />
<template v-if="theme.siteTitle"><span>{{ theme.siteTitle }}</span></template>
<template v-else-if="theme.siteTitle === undefined"><span>{{ site.title }}</span></template>
<span v-if="theme.siteTitle" v-html="theme.siteTitle"></span>
<span v-else-if="theme.siteTitle === undefined">{{ site.title }}</span>
<slot name="nav-bar-title-after" />
</a>
</div>

Loading…
Cancel
Save