We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
externalLinkIcon
VPHome
1 parent 3cd3aee commit fe48943Copy full SHA for fe48943
src/client/theme-default/components/VPHome.vue
@@ -4,11 +4,15 @@ import VPHomeFeatures from './VPHomeFeatures.vue'
4
import VPHomeContent from './VPHomeContent.vue'
5
import { useData } from '../composables/data'
6
7
-const { frontmatter } = useData()
+const { frontmatter, theme } = useData()
8
</script>
9
10
<template>
11
- <div class="VPHome">
+ <div
12
+ class="VPHome"
13
+ :class="{
14
+ 'external-link-icon-enabled': theme.externalLinkIcon
15
+ }">
16
<slot name="home-hero-before" />
17
<VPHomeHero>
18
<template #home-hero-info-before><slot name="home-hero-info-before" /></template>
0 commit comments