fix(theme): allow empty details in home feature (#1936) (#1963)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/1599/head
Markus 2 years ago committed by GitHub
parent b8a5e8e5b2
commit b56351c778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ import VPIconArrowRight from './icons/VPIconArrowRight.vue'
defineProps<{
icon?: DefaultTheme.FeatureIcon
title: string
details: string
details?: string
link?: string
linkText?: string
}>()
@ -25,7 +25,7 @@ defineProps<{
/>
<div v-else-if="icon" class="icon">{{ icon }}</div>
<h2 class="title" v-html="title"></h2>
<p class="details" v-html="details"></p>
<p v-if="details" class="details" v-html="details"></p>
<div v-if="linkText" class="link-text">
<p class="link-text-value">

Loading…
Cancel
Save