mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-26 21:52:39 +00:00
6d31ef9732
* Add vitepress for docs * some fix * Use vitepress and update docs * Use vitepress and update docs * Update README.md * Add favicon * Add docs by @jiriks74 Co-authored-by: jiriks74 <jiri@stefka.eu> --------- Co-authored-by: jiriks74 <jiri@stefka.eu>
16 lines
No EOL
347 B
Vue
16 lines
No EOL
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> |