mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-24 13:12:39 +00:00
16 lines
347 B
Vue
16 lines
347 B
Vue
|
<script setup>
|
||
|
import { useData } from 'vitepress'
|
||
|
import Home from './Home.vue'
|
||
|
import DefaultTheme from 'vitepress/theme'
|
||
|
|
||
|
const { Layout } = DefaultTheme
|
||
|
const { frontmatter } = useData()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<Layout>
|
||
|
<template v-if="frontmatter.layout === 'home'" #home-hero-after>
|
||
|
<Home />
|
||
|
</template>
|
||
|
</Layout>
|
||
|
</template>
|